mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-09 00:05:21 +01:00
removed slugs entirely, since their only purpose was purely cosmetic anyway.
This commit is contained in:
parent
5753c83618
commit
74a99cf330
9 changed files with 55 additions and 36 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue