Minor correction to ContainerContext.get_references().
authorStephen Burrows <stephen.r.burrows@gmail.com>
Mon, 27 Jun 2011 18:14:16 +0000 (14:14 -0400)
committerStephen Burrows <stephen.r.burrows@gmail.com>
Mon, 27 Jun 2011 18:14:16 +0000 (14:14 -0400)
philo/templatetags/containers.py

index 3956f1d..5a2d158 100644 (file)
@@ -33,7 +33,7 @@ class ContainerContext(object):
                        contents = {}
                        for c in references:
                                ct = ContentType.objects.get_for_id(c.content_type_id)
-                               self.references[(c.name, ct)] = c
+                               self._references[(c.name, ct)] = c
                                contents.setdefault(ct, {})[c.content_id] = c
                        
                        for ct in contents: