Add __str__ on Adhesion model
This commit is contained in:
parent
8d20b14cbb
commit
9a7304f573
|
@ -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}"
|
||||
|
|
Loading…
Reference in New Issue