added CSRF Trusted origins instead csrf test failes after reverse proxy
This commit is contained in:
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user