Verified Commit 9a7304f5 authored by erdnaxe's avatar erdnaxe 🎇

Add __str__ on Adhesion model

parent 8d20b14c
......@@ -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}"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment