Commit 8f13987f by Szabolcs Gelencser

Add TODO for template lease table

parent 6c0ce42b
...@@ -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="203" column="11" lean-forward="true" selection-start-line="203" selection-start-column="11" selection-end-line="203" selection-end-column="11" /> <caret line="212" 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="203" column="11" lean-forward="true" selection-start-line="203" selection-start-column="11" selection-end-line="203" selection-end-column="11" /> <caret line="212" 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>
......
...@@ -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(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment