mirror of
https://gitlab.crans.org/bde/nk20
synced 2024-11-26 18:37:12 +00:00
Log aliases in a proper way
This commit is contained in:
parent
3a6d39a53d
commit
849bb71d5d
@ -125,6 +125,9 @@ class Alias(models.Model):
|
||||
verbose_name = _("alias")
|
||||
verbose_name_plural = _("aliases")
|
||||
|
||||
def __str__(self):
|
||||
return self.name
|
||||
|
||||
|
||||
@receiver(post_save, sender=settings.AUTH_USER_MODEL)
|
||||
def save_user_note(instance, created, **_kwargs):
|
||||
|
Loading…
Reference in New Issue
Block a user