1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-21 01:48:21 +02:00
This commit is contained in:
Nicolas Margulies
2021-10-04 20:45:05 +02:00
committed by Yohann D'ANELLO
parent e29b42eecc
commit 633ab88b04
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):
"""