mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-11 04:19:25 +00:00
Remove useless methods on elections
This commit is contained in:
@ -36,12 +36,6 @@ class Election(models.Model):
|
||||
now = timezone.now()
|
||||
return bool(now <= self.end_candidature and now >= self.start_candidature)
|
||||
|
||||
def get_results(self):
|
||||
pass
|
||||
|
||||
def has_voted(self, user):
|
||||
return False
|
||||
|
||||
# Permissions
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user