mirror of
				https://gitlab.crans.org/bde/nk20
				synced 2025-11-04 01:12:08 +01:00 
			
		
		
		
	Log aliases in a proper way
This commit is contained in:
		@@ -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):
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user