Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
circlestack
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
8f13987f
authored
Apr 22, 2018
by
Szabolcs Gelencser
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add TODO for template lease table
parent
6c0ce42b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
.idea/workspace.xml
+4
-4
circle/dashboard/views/template.py
+2
-0
No files found.
.idea/workspace.xml
View file @
8f13987f
...
@@ -47,8 +47,8 @@
...
@@ -47,8 +47,8 @@
<file
leaf-file-name=
"template.py"
pinned=
"false"
current-in-tab=
"true"
>
<file
leaf-file-name=
"template.py"
pinned=
"false"
current-in-tab=
"true"
>
<entry
file=
"file://$PROJECT_DIR$/circle/dashboard/views/template.py"
>
<entry
file=
"file://$PROJECT_DIR$/circle/dashboard/views/template.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
153
"
>
<state
relative-caret-position=
"
306
"
>
<caret
line=
"2
03"
column=
"11"
lean-forward=
"true"
selection-start-line=
"203"
selection-start-column=
"11"
selection-end-line=
"203"
selection-end-column=
"11
"
/>
<caret
line=
"2
12"
column=
"28"
lean-forward=
"false"
selection-start-line=
"212"
selection-start-column=
"28"
selection-end-line=
"212"
selection-end-column=
"28
"
/>
<folding
/>
<folding
/>
</state>
</state>
</provider>
</provider>
...
@@ -1054,8 +1054,8 @@ certifi.where()</expression-string>
...
@@ -1054,8 +1054,8 @@ certifi.where()</expression-string>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/circle/dashboard/views/template.py"
>
<entry
file=
"file://$PROJECT_DIR$/circle/dashboard/views/template.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
153
"
>
<state
relative-caret-position=
"
306
"
>
<caret
line=
"2
03"
column=
"11"
lean-forward=
"true"
selection-start-line=
"203"
selection-start-column=
"11"
selection-end-line=
"203"
selection-end-column=
"11
"
/>
<caret
line=
"2
12"
column=
"28"
lean-forward=
"false"
selection-start-line=
"212"
selection-start-column=
"28"
selection-end-line=
"212"
selection-end-column=
"28
"
/>
<folding
/>
<folding
/>
</state>
</state>
</provider>
</provider>
...
...
circle/dashboard/views/template.py
View file @
8f13987f
...
@@ -210,6 +210,8 @@ class TemplateList(LoginRequiredMixin, FilterMixin, SingleTableView):
...
@@ -210,6 +210,8 @@ class TemplateList(LoginRequiredMixin, FilterMixin, SingleTableView):
context
[
'search_form'
]
=
self
.
search_form
context
[
'search_form'
]
=
self
.
search_form
#TODO: what is this?
# tem0for t in InstanceTemplate.objects.all()
# tem0for t in InstanceTemplate.objects.all()
# # if t.instance_set.count() < 1]
# # if t.instance_set.count() < 1]
# never_instantiated = context['object_list'].annotate(
# never_instantiated = context['object_list'].annotate(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment