mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 03:16:10 -06:00 
			
		
		
		
	Remove django-suit
This commit is contained in:
		@@ -3,7 +3,6 @@ Pillow>=3.1.1
 | 
				
			|||||||
django-crispy-forms>=1.6.0
 | 
					django-crispy-forms>=1.6.0
 | 
				
			||||||
django-extensions>=1.6.1
 | 
					django-extensions>=1.6.1
 | 
				
			||||||
django-filter>=1.0
 | 
					django-filter>=1.0
 | 
				
			||||||
django-suit>=0.2.23
 | 
					 | 
				
			||||||
djangorestframework>=3.4.4
 | 
					djangorestframework>=3.4.4
 | 
				
			||||||
filemagic>=1.6
 | 
					filemagic>=1.6
 | 
				
			||||||
langdetect>=1.0.5
 | 
					langdetect>=1.0.5
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -44,7 +44,6 @@ if os.path.exists("/etc/paperless.conf"):
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
INSTALLED_APPS = [
 | 
					INSTALLED_APPS = [
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    'suit',
 | 
					 | 
				
			||||||
    'django.contrib.admin',
 | 
					    'django.contrib.admin',
 | 
				
			||||||
    'django.contrib.auth',
 | 
					    'django.contrib.auth',
 | 
				
			||||||
    'django.contrib.contenttypes',
 | 
					    'django.contrib.contenttypes',
 | 
				
			||||||
@@ -61,22 +60,6 @@ INSTALLED_APPS = [
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
]
 | 
					]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
SUIT_CONFIG = {
 | 
					 | 
				
			||||||
    'ADMIN_NAME': 'Paperless',
 | 
					 | 
				
			||||||
    'SEARCH_URL': '',
 | 
					 | 
				
			||||||
    'LIST_PER_PAGE': int(os.getenv("PAPERLESS_LIST_PER_PAGE", 25)),
 | 
					 | 
				
			||||||
    'HEADER_DATE_FORMAT': 'D m-d-Y',
 | 
					 | 
				
			||||||
    'MENU': (
 | 
					 | 
				
			||||||
        'sites',
 | 
					 | 
				
			||||||
        {
 | 
					 | 
				
			||||||
            'app': 'documents',
 | 
					 | 
				
			||||||
            'label': 'Paperless',
 | 
					 | 
				
			||||||
            'icon': 'icon-file',
 | 
					 | 
				
			||||||
            'models': ('Document', 'Tag', 'Correspondent', 'log')
 | 
					 | 
				
			||||||
        },
 | 
					 | 
				
			||||||
    )
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
MIDDLEWARE_CLASSES = [
 | 
					MIDDLEWARE_CLASSES = [
 | 
				
			||||||
    'django.middleware.security.SecurityMiddleware',
 | 
					    'django.middleware.security.SecurityMiddleware',
 | 
				
			||||||
    'django.contrib.sessions.middleware.SessionMiddleware',
 | 
					    'django.contrib.sessions.middleware.SessionMiddleware',
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user