From 7236b55467ad25c08521ebf2836926ad30e81329 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Sun, 5 May 2024 23:21:05 -0400 Subject: [PATCH] Add `CSRF_TRUSTED_ORIGINS` to environment-settable settings --- cmsmanage/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cmsmanage/settings.py b/cmsmanage/settings.py index 0e99e49..90026df 100644 --- a/cmsmanage/settings.py +++ b/cmsmanage/settings.py @@ -178,6 +178,7 @@ class Base(Configuration): class NonCIBase(Base): """required for all but CI""" + CSRF_TRUSTED_ORIGINS = values.ListValue([]) DATABASES = values.DatabaseURLValue(environ_required=True) EMAIL = values.EmailURLValue(environ_required=True) # TODO: should validate emails