add CSRF_TRUSTED_ORIGINS
This commit is contained in:
parent
d8705d4946
commit
1287105067
1 changed files with 1 additions and 0 deletions
|
@ -29,6 +29,7 @@ SECRET_KEY = '+0t^onasc-b+_ry$!6@hpf4o79rw6m%q7dow5#ia+@nla&2@0-'
|
||||||
DEBUG = config('DEBUG', cast=bool, default=False)
|
DEBUG = config('DEBUG', cast=bool, default=False)
|
||||||
|
|
||||||
ALLOWED_HOSTS = config('ALLOWED_HOSTS', cast=Csv(), default="*")
|
ALLOWED_HOSTS = config('ALLOWED_HOSTS', cast=Csv(), default="*")
|
||||||
|
CSRF_TRUSTED_ORIGINS = ['.ungleich.ch']
|
||||||
|
|
||||||
# Application definition
|
# Application definition
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue