A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Removed unused function many_to_list
Wolf-Bastian Poettner26b20cf62e7a
diff --git a/src/documents/models.py b/src/documents/models.pyindex 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():