get dict for Event done mostly
This commit is contained in:
parent
dab564a6da
commit
ade8816ec3
|
@ -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 = (
|
||||||
|
|
Loading…
Reference in New Issue
Block a user