A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Fix: correct logged number of deleted documents on trash (#9148)
shamoonceffcd636034
diff --git a/src/documents/tasks.py b/src/documents/tasks.pyindex d8539d1ab..052def80f 100644--- a/src/documents/tasks.py+++ b/src/documents/tasks.py@@ -335,7 +335,7 @@ def empty_trash(doc_ids=None):)try:- deleted_document_ids = documents.values_list("id", flat=True)+ deleted_document_ids = list(documents.values_list("id", flat=True))# Temporarily connect the cleanup handlermodels.signals.post_delete.connect(cleanup_document_deletion, sender=Document)documents.delete() # this is effectively a hard delete