diff --git a/webprog/settings.py b/webprog/settings.py index a8adb0c..d4b77dd 100644 --- a/webprog/settings.py +++ b/webprog/settings.py @@ -27,6 +27,7 @@ DEBUG = True ALLOWED_HOSTS = ['127.0.0.1', '192.168.178.36', 'webprog-homework.deploy.cat'] +CSRF_TRUSTED_ORIGINS = ['https://webprog-homework.deploy.cat'] # Application definition