Can add ElectionList and start of candidature form

This commit is contained in:
klmp200 committed 2016-12-25 19:52:14 +01:00
1 parent d72d8366cf
commit 51bb6c8472
4 files changed
+51 -5

No files matched your search

+3
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):
"""