A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Added comment to update_document
Wolf-Bastian Poettner302705325686
diff --git a/src/documents/models.py b/src/documents/models.pyindex 65beb80d4..359960846 100644--- a/src/documents/models.py+++ b/src/documents/models.py@@ -409,6 +409,7 @@ def delete_empty_directory(directory):@receiver(models.signals.m2m_changed, sender=Document.tags.through)@receiver(models.signals.post_save, sender=Document)def update_filename(sender, instance, **kwargs):+ # Skip if document has not been saved yetif instance.filename is None:return