+CONTAINER_CONTEXT_KEY = 'philo_container_context'
+
+
+class ContainerContext(object):
+ def __init__(self, contentlets, references):
+ self.contentlets = dict(((c.name, c) for c in contentlets))
+ self.references = dict((((c.name, ContentType.objects.get_for_id(c.content_type_id)), c) for c in references))
+
+