Can add ElectionList and start of candidature form

This commit is contained in:
2016-12-20 21:03:52 +01:00
parent d72d8366cf
commit 51bb6c8472
4 changed files with 51 additions and 5 deletions

View File

@ -67,6 +67,9 @@ class ElectionList(models.Model):
title = models.CharField(_('title'), max_length=255)
election = models.ForeignKey(Election, related_name='election_list', verbose_name=_("election"))
def __str__(self):
return self.title
class Candidature(models.Model):
"""