get dict for Event done mostly

This commit is contained in:
Johnson Chetty 2013-04-05 22:03:58 +02:00
parent dab564a6da
commit ade8816ec3

View File

@ -82,9 +82,8 @@ class Event(ItfModel):
'image':self.image,
'production':self.production,
'buzzitems': [ obj for obj in self.buzzitems.all()],
#'group':,
#'galleries':,
'groups': [obj for obj in self.groupevent_set.all()],
'galleries': [obj for obj in self.galleries.all()],
}
if self.parent_event:
@ -97,7 +96,7 @@ class Event(ItfModel):
}
rdict['people']= people
return rdict
PERSON_EVENT_CHOICES = (