Update production settings

This commit is contained in:
Mario Hüttel 2022-01-01 17:22:04 +01:00
parent f21ce223bc
commit 8ef217f224

View File

@ -63,8 +63,12 @@ INSTALLED_APPS = [
'rest_framework', 'rest_framework',
'crispy_forms', 'crispy_forms',
'crispy_bootstrap5', 'crispy_bootstrap5',
'django.forms',
] ]
FORM_RENDERER = 'django.forms.renderers.TemplatesSetting'
MIDDLEWARE = [ MIDDLEWARE = [
'django.middleware.security.SecurityMiddleware', 'django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware',