mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 03:16:10 -06:00 
			
		
		
		
	@@ -31,7 +31,7 @@ class IndexView(TemplateView):
 | 
			
		||||
        return TemplateView.get_context_data(self, **kwargs)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class FetchView(DetailView):
 | 
			
		||||
class FetchView(LoginRequiredMixin, DetailView):
 | 
			
		||||
 | 
			
		||||
    model = Document
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -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 = []
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user