mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-11 04:19:25 +00:00
Can add ElectionList and start of candidature form
This commit is contained in:
@ -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):
|
||||
"""
|
||||
|
Reference in New Issue
Block a user