From 2c976f926c810a2486be7764dbfb4962d5405e80 Mon Sep 17 00:00:00 2001 From: moanos Date: Tue, 17 Jun 2025 22:46:50 +0200 Subject: [PATCH] refactor: Remove old get abolute URL --- src/fellchensammlung/models.py | 3 --- .../bulma-partial-rescue-organization-minimal-map.html | 2 +- .../partials/bulma-partial-rescue-organization.html | 2 +- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/fellchensammlung/models.py b/src/fellchensammlung/models.py index f9713f8..72201c7 100644 --- a/src/fellchensammlung/models.py +++ b/src/fellchensammlung/models.py @@ -162,9 +162,6 @@ class RescueOrganization(models.Model): def get_absolute_url(self): return reverse("rescue-organization-detail", args=[str(self.pk)]) - def get_absolute_url_bulma(self): - return reverse("bulma-rescue-organization-detail", args=[str(self.pk)]) - @property def adoption_notices(self): return AdoptionNotice.objects.filter(organization=self) diff --git a/src/fellchensammlung/templates/fellchensammlung/partials/bulma-partial-rescue-organization-minimal-map.html b/src/fellchensammlung/templates/fellchensammlung/partials/bulma-partial-rescue-organization-minimal-map.html index 67dc8fe..6282998 100644 --- a/src/fellchensammlung/templates/fellchensammlung/partials/bulma-partial-rescue-organization-minimal-map.html +++ b/src/fellchensammlung/templates/fellchensammlung/partials/bulma-partial-rescue-organization-minimal-map.html @@ -6,7 +6,7 @@

- {{ rescue_organization.name }} + {{ rescue_organization.name }}

diff --git a/src/fellchensammlung/templates/fellchensammlung/partials/bulma-partial-rescue-organization.html b/src/fellchensammlung/templates/fellchensammlung/partials/bulma-partial-rescue-organization.html index d807286..225abed 100644 --- a/src/fellchensammlung/templates/fellchensammlung/partials/bulma-partial-rescue-organization.html +++ b/src/fellchensammlung/templates/fellchensammlung/partials/bulma-partial-rescue-organization.html @@ -4,7 +4,7 @@

{{ rescue_organization.name }}

+ href="{{ rescue_organization.get_absolute_urlF }}"> {{ rescue_organization.name }}