[nature] Fix template and url paths
This commit is contained in:
@ -51,7 +51,7 @@ class SpeciesObservation(ScrobblableMixin):
|
|||||||
return self.title or str(self.uuid)
|
return self.title or str(self.uuid)
|
||||||
|
|
||||||
def get_absolute_url(self):
|
def get_absolute_url(self):
|
||||||
return reverse("nature:species_detail", kwargs={"slug": self.uuid})
|
return reverse("nature:species_observation_detail", kwargs={"slug": self.uuid})
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def subtitle(self):
|
def subtitle(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user