A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Catch ProgrammingError in Document checks.
Thomas Niederprüm2308d5a61334
diff --git a/src/documents/checks.py b/src/documents/checks.pyindex c80b63863..3310b1806 100644--- a/src/documents/checks.py+++ b/src/documents/checks.py@@ -2,7 +2,7 @@ import textwrapfrom django.conf import settingsfrom django.core.checks import Error, register-from django.db.utils import OperationalError+from django.db.utils import OperationalError, ProgrammingError@register()@@ -14,7 +14,7 @@ def changed_password_check(app_configs, **kwargs):try:encrypted_doc = Document.objects.filter(storage_type=Document.STORAGE_TYPE_GPG).first()- except OperationalError:+ except (OperationalError, ProgrammingError):return [] # No documents table yetif encrypted_doc: