diff --git a/apps/member/models.py b/apps/member/models.py index f0794a03..565a24f3 100644 --- a/apps/member/models.py +++ b/apps/member/models.py @@ -77,7 +77,10 @@ class Profile(models.Model): default=datetime.date.today().year if datetime.date.today().month >= 8 else datetime.date.today().year - 1, verbose_name=_("promotion"), help_text=_("Year of entry to the school (None if not ENS student)"), - validators=[MinValueValidator(1912), MaxValueValidator(datetime.date.today().year if datetime.date.today().month >= 8 else datetime.date.today().year - 1)], + validators=[ + MinValueValidator(1912), + MaxValueValidator(datetime.date.today().year if datetime.date.today().month >= 8 else datetime.date.today().year - 1) + ], ) address = models.CharField(