From d59d6299877dbb6a7b58e079a1e30eace6b8579a Mon Sep 17 00:00:00 2001 From: adb-sh Date: Sun, 8 Jan 2023 21:55:03 +0100 Subject: [PATCH] trusted origins --- webprog/settings.py | 1 + 1 file changed, 1 insertion(+) 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