change meetingperformance fields
This commit is contained in:
parent
c4720f02a1
commit
5b8b7c7d37
|
@ -153,7 +153,9 @@ class Session(models.Model):
|
|||
|
||||
class MeetingPerformance(models.Model):
|
||||
title = models.CharField(max_length=512)
|
||||
performed_by = models.CharField(max_length=512, blank=True)
|
||||
performed_by = models.CharField(max_length=512, blank=True, verbose_name="Group")
|
||||
director = models.CharField(max_length=512, blank=True)
|
||||
language = models.CharField(max_length=256, blank=True)
|
||||
synopsis = models.TextField(blank=True)
|
||||
time = models.TimeField(null=True, blank=True)
|
||||
meeting_day = models.ForeignKey("MeetingDay")
|
||||
|
@ -162,6 +164,8 @@ class MeetingPerformance(models.Model):
|
|||
return {
|
||||
'title': self.title,
|
||||
'performed_by': self.performed_by,
|
||||
'director': self.director,
|
||||
'language': self.language,
|
||||
'synopsis': self.synopsis,
|
||||
#'time': FIXME
|
||||
'images': [i for i in MeetingPerformanceImage.objects.filter(performance=self)]
|
||||
|
|
Loading…
Reference in New Issue
Block a user