diff --git a/users/models.py b/users/models.py index bdd5092..56fd01e 100644 --- a/users/models.py +++ b/users/models.py @@ -69,3 +69,6 @@ class Adhesion(models.Model): class Meta: verbose_name = _('membership year') verbose_name_plural = _('membership years') + + def __str__(self): + return f"{self.starting_in} - {self.ending_in}"