From e9ae72a66c2461c7b0c8af1d5ba446ec30b82dd8 Mon Sep 17 00:00:00 2001 From: Steve Kueng Date: Thu, 5 Oct 2023 22:47:04 +0200 Subject: [PATCH] CSRF_TRUSTED_ORIGINS added --- app/munkiwebadmin/settings.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/munkiwebadmin/settings.py b/app/munkiwebadmin/settings.py index eb8d1ab9..a14eed0f 100755 --- a/app/munkiwebadmin/settings.py +++ b/app/munkiwebadmin/settings.py @@ -194,6 +194,8 @@ } } +CSRF_TRUSTED_ORIGINS = ALLOWED_HOSTS + # needed by django-wsgiserver when using staticserve=collectstatic STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles') # Additional locations of static files