From 5b8b7c7d37d922bd61a89b908f2d69d6066a56b6 Mon Sep 17 00:00:00 2001 From: Sanj Date: Sun, 4 Mar 2012 16:25:20 +0530 Subject: [PATCH] change meetingperformance fields --- itf/festival/models.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/itf/festival/models.py b/itf/festival/models.py index c35d23c..697d92c 100755 --- a/itf/festival/models.py +++ b/itf/festival/models.py @@ -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)]