On supprime un bout de code inutile

This commit is contained in:
Tom Hubrecht 2021-03-18 15:03:29 +01:00
parent aa713a5aa7
commit 3ba3d12d60

View file

@ -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"]