feat: add link to original content
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
moanos [he/him] 2025-03-10 22:12:35 +01:00
parent 12d5a976cc
commit 37ecf28f2f

View File

@ -699,7 +699,6 @@ class Report(models.Model):
Same as reported_content, just for url
"""
if hasattr(self, "reportadoptionnotice"):
print("dada")
print(self.reportadoptionnotice.adoption_notice.get_absolute_url)
return self.reportadoptionnotice.adoption_notice.get_absolute_url
elif hasattr(self, "reportcomment"):