mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-05-01 11:19:32 -05:00
Removed unused function many_to_list
This commit is contained in:
parent
2d98951d88
commit
c0f1250608
@ -283,12 +283,6 @@ class Document(models.Model):
|
||||
|
||||
return self.filename
|
||||
|
||||
def many_to_list(self, field):
|
||||
mylist = []
|
||||
for t in field.all():
|
||||
mylist.append(t.name)
|
||||
return mylist
|
||||
|
||||
def many_to_dictionary(self, field):
|
||||
mydictionary = dict()
|
||||
for t in field.all():
|
||||
|
Loading…
x
Reference in New Issue
Block a user