Models für Vortragsformular

This commit is contained in:
Johanna 2014-12-03 09:18:13 +01:00
parent 32f5915530
commit b658afba1b
1 changed files with 12 additions and 0 deletions

View File

@ -19,7 +19,19 @@ class Project(models.Model):
class Presentation(models.Model): class Presentation(models.Model):
""" Presention Model for PresentationForm""" """ Presention Model for PresentationForm"""
title = models.CharField(max_length=255) 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): class PresentationPerson(models.Model):
""" Person Model for PresentationForm""" """ Person Model for PresentationForm"""
given_name = models.CharField(max_length=255) given_name = models.CharField(max_length=255)