On supprime un bout de code inutile
This commit is contained in:
parent
aa713a5aa7
commit
3ba3d12d60
1 changed files with 0 additions and 6 deletions
|
@ -45,12 +45,6 @@ class Election(models.Model):
|
|||
|
||||
archived = models.BooleanField(_("archivée"), default=False)
|
||||
|
||||
@property
|
||||
def preferred_method(self):
|
||||
if self.restricted:
|
||||
return "PWD"
|
||||
return "CAS"
|
||||
|
||||
class Meta:
|
||||
ordering = ["-start_date", "-end_date"]
|
||||
|
||||
|
|
Loading…
Reference in a new issue