[trails] Fix name

This commit is contained in:
2026-05-21 18:49:39 -04:00
parent 9bafe45951
commit c11858810c

View File

@ -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})