diff --git a/src/fellchensammlung/models.py b/src/fellchensammlung/models.py index 8ecef26..d6bd95c 100644 --- a/src/fellchensammlung/models.py +++ b/src/fellchensammlung/models.py @@ -563,6 +563,9 @@ class SearchSubscription(models.Model): sex = models.CharField(max_length=20, choices=SexChoices.choices) radius = models.IntegerField(choices=DistanceChoices.choices) + def __str__(self): + return f"{self.owner}: {self.sex} {self.radius}km - {self.location}" + class Rule(models.Model): """