See #890: web UI and email notifications on new reports

This commit is contained in:
Eliot Berriot 2019-09-13 06:09:48 +02:00
parent 368b70d3a9
commit c9a9615be8
15 changed files with 292 additions and 4 deletions

View file

@ -204,6 +204,10 @@ class Actor(models.Model):
class Meta:
unique_together = ["domain", "preferred_username"]
verbose_name = "Account"
def get_moderation_url(self):
return "/manage/moderation/accounts/{}".format(self.full_username)
@property
def webfinger_subject(self):