[trails] Fix name
This commit is contained in:
@ -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})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user