diff --git a/apps/note/models/notes.py b/apps/note/models/notes.py index e5d9c13c..604e81ae 100644 --- a/apps/note/models/notes.py +++ b/apps/note/models/notes.py @@ -102,7 +102,7 @@ class Note(PolymorphicModel): super().save(*args, **kwargs) - if not Alias.objects.filter(name=str(self)).exists(): + if not Alias.objects.filter(normalized_name=Alias.normalize(str(self))).exists(): a = Alias(name=str(self)) a.clean()