From 0fd3a43c4bcfc712e6002423957c4c76c7b67972 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 9 Feb 2026 19:10:58 +0100 Subject: [PATCH] change settings.py variable for https trusted domains --- project/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/project/settings.py b/project/settings.py index 76573e3..d8ea5ae 100644 --- a/project/settings.py +++ b/project/settings.py @@ -31,6 +31,7 @@ SECRET_KEY = os.getenv('SECRET_KEY') DEBUG = os.getenv('DEBUG') == 'True' ALLOWED_HOSTS = os.getenv('ALLOWED_HOSTS', 'localhost').split(',') +CSRF_TRUSTED_ORIGINS = os.getenv('CSRF_TRUSTED_ORIGINS', '').split(',') # Application definition