add CSRF_TRUSTED_ORIGINS

This commit is contained in:
aatish 2018-11-17 10:57:15 +05:45
parent d8705d4946
commit 1287105067
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ SECRET_KEY = '+0t^onasc-b+_ry$!6@hpf4o79rw6m%q7dow5#ia+@nla&2@0-'
DEBUG = config('DEBUG', cast=bool, default=False)
ALLOWED_HOSTS = config('ALLOWED_HOSTS', cast=Csv(), default="*")
CSRF_TRUSTED_ORIGINS = ['.ungleich.ch']
# Application definition