mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-07 15:25:41 +01:00
Removed unused function many_to_list
This commit is contained in:
parent
e70d0c53c8
commit
26b20cf62e
1 changed files with 0 additions and 6 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue