From ab2e154ed38d7983eb18938aa4111fb52ac28497 Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Fri, 17 Jul 2026 10:35:20 -0400 Subject: [PATCH] [nature] Fix template and url paths --- vrobbler/apps/nature/models.py | 2 +- ...s_observation_detail.html => speciesobservation_detail.html} | 0 ...ecies_observation_list.html => speciesobservation_list.html} | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename vrobbler/templates/nature/{species_observation_detail.html => speciesobservation_detail.html} (100%) rename vrobbler/templates/nature/{species_observation_list.html => speciesobservation_list.html} (100%) diff --git a/vrobbler/apps/nature/models.py b/vrobbler/apps/nature/models.py index 654808a..471ce1a 100644 --- a/vrobbler/apps/nature/models.py +++ b/vrobbler/apps/nature/models.py @@ -51,7 +51,7 @@ class SpeciesObservation(ScrobblableMixin): return self.title or str(self.uuid) 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 def subtitle(self): diff --git a/vrobbler/templates/nature/species_observation_detail.html b/vrobbler/templates/nature/speciesobservation_detail.html similarity index 100% rename from vrobbler/templates/nature/species_observation_detail.html rename to vrobbler/templates/nature/speciesobservation_detail.html diff --git a/vrobbler/templates/nature/species_observation_list.html b/vrobbler/templates/nature/speciesobservation_list.html similarity index 100% rename from vrobbler/templates/nature/species_observation_list.html rename to vrobbler/templates/nature/speciesobservation_list.html