X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/943e8bc4af0c11b0ace3811199e3b0844c4c3fbc..81101c996edfb9d8aea2fd96b981e393d7198908:/philo/admin/forms/containers.py diff --git a/philo/admin/forms/containers.py b/philo/admin/forms/containers.py index 246a954..987524f 100644 --- 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: - containers = list(self.instance.containers[0]) + containers = self.instance.containers[0] except ObjectDoesNotExist: containers = []