diff --git a/vrobbler/apps/trails/models.py b/vrobbler/apps/trails/models.py index 33a5dc9..73b2ffe 100644 --- a/vrobbler/apps/trails/models.py +++ b/vrobbler/apps/trails/models.py @@ -74,6 +74,9 @@ class Trail(ScrobblableMixin): max_length=10, choices=ActivityType.choices, **BNULL ) + def __str__(self): + return self.title + def get_absolute_url(self): return reverse("trails:trail_detail", kwargs={"slug": self.uuid})