A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Code cleanup
Daniel Quinn6c3afd21b948
diff --git a/src/documents/forms.py b/src/documents/forms.pyindex 5f965a1c6..3cdef448e 100644--- a/src/documents/forms.py+++ b/src/documents/forms.py@@ -8,7 +8,6 @@ from django import formsfrom django.conf import settingsfrom .models import Document, Correspondent-from .consumer import Consumerclass UploadForm(forms.Form):diff --git a/src/paperless/middleware.py b/src/paperless/middleware.pyindex 8fed7da8f..58cdad65c 100644--- a/src/paperless/middleware.py+++ b/src/paperless/middleware.py@@ -2,7 +2,7 @@ from django.utils.deprecation import MiddlewareMixinfrom .models import User-class Middleware (MiddlewareMixin):+class Middleware(MiddlewareMixin):"""This is a dummy authentication middleware class that creates whatis roughly an Anonymous authenticated user so we can disable login