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