added CSRF Trusted origins instead csrf test failes after reverse proxy

This commit is contained in:
Alexander Schulz
2024-08-31 12:46:16 +02:00
parent b19c7ab448
commit 3d8803a54b

View File

@ -71,6 +71,7 @@ TEMPLATES = [
WSGI_APPLICATION = 'testapp.wsgi.application' WSGI_APPLICATION = 'testapp.wsgi.application'
CSRF_TRUSTED_ORIGINS = ['https://develop.artemisneo.com']
# Database # Database
# https://docs.djangoproject.com/en/5.1/ref/settings/#databases # https://docs.djangoproject.com/en/5.1/ref/settings/#databases