From b658afba1bdd8ee30dfc456c780ed8ecfc58413d Mon Sep 17 00:00:00 2001 From: Johanna Date: Wed, 3 Dec 2014 09:18:13 +0100 Subject: [PATCH] =?UTF-8?q?Models=20f=C3=BCr=20Vortragsformular?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/models.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/frontend/models.py b/frontend/models.py index ea72e48..a8c188f 100644 --- a/frontend/models.py +++ b/frontend/models.py @@ -19,7 +19,19 @@ class Project(models.Model): class Presentation(models.Model): """ Presention Model for PresentationForm""" title = models.CharField(max_length=255) + typ = models.CharField(max_length=255) + abstract = models.CharField(max_length=255) +class PresentationEvent(models.Model): + """Veranstaltung""" + date = models.DateField() + name = models.CharField(max_length=255) + workshop = models.BooleanField() + place = models.CharField(max_length=255) + start_date = models.DateField() + end_date = models.DateField() + presentatiom = models.ForeignKey(Presentation, blank=False, null=False, db_index=True) + class PresentationPerson(models.Model): """ Person Model for PresentationForm""" given_name = models.CharField(max_length=255)