feat: make use of new notification mapping

This commit is contained in:
2025-07-13 00:00:30 +02:00
parent d8bcb8ece6
commit a4b8486bd4
5 changed files with 44 additions and 58 deletions

View File

@@ -732,6 +732,9 @@ class Report(models.Model):
"""Returns the url to access a detailed page for the report."""
return reverse('report-detail', args=[str(self.id)])
def get_full_url(self):
return f"{base_url}{self.get_absolute_url()}"
def get_reported_rules(self):
return self.reported_broken_rules.all()