mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-30 22:29:32 +00:00
Remove useless methods on elections
This commit is contained in:
1 parent
1f60fbd484
commit
a27fd267d7
2 files changed
+2
-8
No files matched your search
@@ -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