This commit is contained in:
Nicolas Margulies 2021-10-04 20:45:05 +02:00 committed by Yohann D'ANELLO
parent e29b42eecc
commit 633ab88b04
No known key found for this signature in database
GPG key ID: 3A75C55819C8CF85
4 changed files with 22 additions and 13 deletions

View file

@ -244,6 +244,10 @@ class Trust(models.Model):
verbose_name_plural = _("friendships")
unique_together = ("trusting", "trusted")
def __str__(self):
return _("Friendship between {trusting} and{trusted}").format(
trusting=str(self.trusting), trusted=str(self.trusted))
class Alias(models.Model):
"""