removed slugs entirely, since their only purpose was purely cosmetic anyway.

This commit is contained in:
jonaswinkler
2020-12-09 00:04:37 +01:00
parent 1357ee83a0
commit ba7bf9b2d2
9 changed files with 55 additions and 36 deletions

View File

@@ -103,10 +103,7 @@ class MailAccountHandler(LoggingMixin):
def _correspondent_from_name(self, name):
try:
return Correspondent.objects.get_or_create(
name=name, defaults={
"slug": slugify(name)
})[0]
return Correspondent.objects.get_or_create(name=name)[0]
except DatabaseError as e:
self.log(
"error",