feat: Link to bulma url

This commit is contained in:
2025-05-09 20:20:04 +02:00
parent 45a534a042
commit f79bb355cf
3 changed files with 6 additions and 2 deletions

View File

@@ -363,6 +363,10 @@ class AdoptionNotice(models.Model):
"""Returns the url to access a detailed page for the adoption notice."""
return reverse('adoption-notice-detail', args=[str(self.id)])
def get_absolute_url_bulma(self):
"""Returns the url to access a detailed page for the adoption notice."""
return reverse('adoption-notice-detail-bulma', args=[str(self.id)])
def get_report_url(self):
"""Returns the url to report an adoption notice."""
return reverse('report-adoption-notice', args=[str(self.id)])