A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Secure document fetching
Jeff Bogatay05f3cad271b4
diff --git a/src/documents/views.py b/src/documents/views.pyindex 71d350e02..d47ab8654 100644--- a/src/documents/views.py+++ b/src/documents/views.py@@ -31,7 +31,7 @@ class IndexView(TemplateView):return TemplateView.get_context_data(self, **kwargs)-class FetchView(DetailView):+class FetchView(LoginRequiredMixin, DetailView):model = Documentdiff --git a/src/paperless/settings.py b/src/paperless/settings.pyindex faf532d52..c80434bc7 100644--- a/src/paperless/settings.py+++ b/src/paperless/settings.py@@ -27,6 +27,8 @@ SECRET_KEY = 'e11fl1oa-*ytql8p)(06fbj4ukrlo+n7k&q5+$1md7i+mge=ee'# SECURITY WARNING: don't run with debug turned on in production!DEBUG = True+LOGIN_URL = '/admin/login'+ALLOWED_HOSTS = []