mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-07-28 18:24:38 -05:00
Add document thumbnail images; use django-suit theme for admin
This commit is contained in:
@@ -44,6 +44,7 @@ if os.path.exists("/etc/paperless.conf"):
|
||||
|
||||
INSTALLED_APPS = [
|
||||
|
||||
'suit',
|
||||
'django.contrib.admin',
|
||||
'django.contrib.auth',
|
||||
'django.contrib.contenttypes',
|
||||
@@ -60,6 +61,21 @@ INSTALLED_APPS = [
|
||||
|
||||
]
|
||||
|
||||
SUIT_CONFIG = {
|
||||
'ADMIN_NAME': 'Paperless',
|
||||
'SEARCH_URL': '',
|
||||
'LIST_PER_PAGE': 100,
|
||||
'HEADER_DATE_FORMAT': 'D m-d-Y',
|
||||
'MENU': (
|
||||
'sites',
|
||||
{ 'app': 'documents',
|
||||
'label': 'Paperless',
|
||||
'icon': 'icon-file',
|
||||
'models': ('Document', 'Tag', 'Correspondent', 'log')
|
||||
},
|
||||
)
|
||||
}
|
||||
|
||||
MIDDLEWARE_CLASSES = [
|
||||
'django.middleware.security.SecurityMiddleware',
|
||||
'django.contrib.sessions.middleware.SessionMiddleware',
|
||||
|
Reference in New Issue
Block a user