Allow users to report spam links

This commit is contained in:
Mouse Reeve
2022-01-10 14:55:10 -08:00
parent 651d468b13
commit 78dd5caf9f
20 changed files with 310 additions and 151 deletions

View File

@ -16,10 +16,7 @@ class Link(ActivitypubMixin, BookWyrmModel):
url = fields.URLField(max_length=255, activitypub_field="href")
added_by = fields.ForeignKey(
"User",
on_delete=models.SET_NULL,
null=True,
activitypub_field="attributedTo"
"User", on_delete=models.SET_NULL, null=True, activitypub_field="attributedTo"
)
domain = models.ForeignKey(
"LinkDomain",