Add CSRF_TRUSTED_ORIGINS to environment-settable settings

This commit is contained in:
Adam Goldsmith 2024-05-05 23:21:05 -04:00
parent 9c2084903f
commit 7236b55467

View File

@ -178,6 +178,7 @@ class Base(Configuration):
class NonCIBase(Base): class NonCIBase(Base):
"""required for all but CI""" """required for all but CI"""
CSRF_TRUSTED_ORIGINS = values.ListValue([])
DATABASES = values.DatabaseURLValue(environ_required=True) DATABASES = values.DatabaseURLValue(environ_required=True)
EMAIL = values.EmailURLValue(environ_required=True) EMAIL = values.EmailURLValue(environ_required=True)
# TODO: should validate emails # TODO: should validate emails