production with django admin template
Some checks failed
ERP CI/CD Pipeline / test (push) Has been cancelled
ERP CI/CD Pipeline / Deploy (server git pull + compose) (push) Has been cancelled

This commit is contained in:
2026-07-12 22:44:03 +02:00
parent ac5f25a99c
commit 70151f1225
4 changed files with 124 additions and 93 deletions

View File

@@ -11,6 +11,7 @@ SECRET_KEY = os.environ.get('SECRET_KEY', 'django-insecure-fk#ywtdyi8=t6^vdbo!=b
DEBUG = os.environ.get('DEBUG', 'True') == 'True'
INSTALLED_APPS = [
'unfold',
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
@@ -27,6 +28,14 @@ INSTALLED_APPS = [
'modules.crm',
'modules.fleet'
]
UNFOLD = {
'SITE_TITLE': 'ERP Admin',
'SITE_HEADER': 'ERP Administration',
'SITE_SYMBOL': 'dashboard',
'SHOW_HISTORY': True,
}
MIDDLEWARE = [
'corsheaders.middleware.CorsMiddleware', # Mora biti prvi
'django.middleware.security.SecurityMiddleware',