mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-09-01 01:46:16 +00:00
fixes #397
This commit is contained in:
@@ -63,12 +63,6 @@ class MatchingModel(models.Model):
|
|||||||
def __str__(self):
|
def __str__(self):
|
||||||
return self.name
|
return self.name
|
||||||
|
|
||||||
def save(self, *args, **kwargs):
|
|
||||||
|
|
||||||
self.match = self.match.lower()
|
|
||||||
|
|
||||||
models.Model.save(self, *args, **kwargs)
|
|
||||||
|
|
||||||
|
|
||||||
class Correspondent(MatchingModel):
|
class Correspondent(MatchingModel):
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user