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)