Schule als Staat Projekt Web, Dokumente, etc.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
584B

  1. from django.db import models
  2. # Create your models here.
  3. class ParteiWerbung(models.Model):
  4. partei = models.ForeignKey('meingoethopia.Partei')
  5. def __str__(self):
  6. return str(self.partei)
  7. class Meta:
  8. verbose_name = 'Parteiwerbung'
  9. verbose_name_plural = 'Parteienwerbung'
  10. class PraesidentWerbung(models.Model):
  11. partei = models.ForeignKey('meingoethopia.PresidentCandidate')
  12. def __str__(self):
  13. return str(self.partei)
  14. class Meta:
  15. verbose_name = 'Präsidentwerbung'
  16. verbose_name_plural = 'Präsidentenwerbung'