refactor: Remove old get abolute URL
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user