From 26b20cf62e7a6a0520f3238bf207f9a91e1484fe Mon Sep 17 00:00:00 2001 From: Wolf-Bastian Poettner <bastian@poettner.de> Date: Sat, 1 Feb 2020 13:25:23 +0000 Subject: [PATCH] Removed unused function many_to_list --- src/documents/models.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/documents/models.py b/src/documents/models.py index 0a69434e0..a5e3a6361 100644 --- a/src/documents/models.py +++ b/src/documents/models.py @@ -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():