diff --git a/config.example.py b/config.example.py index 7776b25..2ef8ae1 100644 --- a/config.example.py +++ b/config.example.py @@ -7,3 +7,5 @@ DBUSER = "tldtest" DBPASSWORD = "clubmate2010" + +CSRF_TRUSTED_ORIGINS = [] diff --git a/tldtest/settings.py b/tldtest/settings.py index 50733fe..8e9cd30 100644 --- a/tldtest/settings.py +++ b/tldtest/settings.py @@ -27,6 +27,8 @@ ALLOWED_HOSTS = config.ALLOWED_HOSTS +CSRF_TRUSTED_ORIGINS = config.CSRF_TRUSTED_ORIGINS + # Application definition INSTALLED_APPS = [