git.ithinksw.org
/
philo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed template container discovery in favor of (potentially) larger queries.
[philo.git]
/
philo
/
admin
/
forms
/
containers.py
diff --git
a/philo/admin/forms/containers.py
b/philo/admin/forms/containers.py
index
246a954
..
987524f
100644
(file)
--- a/
philo/admin/forms/containers.py
+++ b/
philo/admin/forms/containers.py
@@
-153,7
+153,7
@@
class ContainerInlineFormSet(BaseInlineFormSet):
class ContentletInlineFormSet(ContainerInlineFormSet):
def get_containers(self):
try:
class ContentletInlineFormSet(ContainerInlineFormSet):
def get_containers(self):
try:
- containers =
list(self.instance.containers[0])
+ containers =
self.instance.containers[0]
except ObjectDoesNotExist:
containers = []
except ObjectDoesNotExist:
containers = []