From 128710506738d97afc980ee7b3d8942ce4b3b5d4 Mon Sep 17 00:00:00 2001 From: Aatish Neupane Date: Sat, 17 Nov 2018 10:57:15 +0545 Subject: [PATCH] add CSRF_TRUSTED_ORIGINS --- ipv6work/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ipv6work/settings.py b/ipv6work/settings.py index f3376ce..b5fce0d 100644 --- a/ipv6work/settings.py +++ b/ipv6work/settings.py @@ -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