Removed unused function many_to_list

This commit is contained in:
Wolf-Bastian Poettner 2020-02-01 13:25:23 +00:00
parent e70d0c53c8
commit 26b20cf62e

View File

@ -283,12 +283,6 @@ class Document(models.Model):
return self.filename 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): def many_to_dictionary(self, field):
mydictionary = dict() mydictionary = dict()
for t in field.all(): for t in field.all():