A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Add metadata field: has archive version
Jonas Winklercb9e5b5ee39f
diff --git a/src/documents/views.py b/src/documents/views.pyindex 4d62ae5c4..381eba3e1 100755--- a/src/documents/views.py+++ b/src/documents/views.py@@ -169,6 +169,7 @@ class DocumentViewSet(RetrieveModelMixin,"paperless__checksum": doc.checksum,"paperless__mime_type": doc.mime_type,"paperless__filename": doc.filename,+ "paperless__has_archive_version": os.path.isfile(doc.archive_path)})except Document.DoesNotExist:raise Http404()