diff --git a/fuhoblog/settings/base.py b/fuhoblog/settings/base.py index 3744371..9f674aa 100644 --- a/fuhoblog/settings/base.py +++ b/fuhoblog/settings/base.py @@ -237,6 +237,7 @@ # e.g. in notification emails. Don't include '/admin' or a trailing slash WAGTAILADMIN_BASE_URL = os.environ.setdefault('API_BASE', 'http://localhost:8000') BASE_URL = WAGTAILADMIN_BASE_URL +CSRF_TRUSTED_ORIGINS = [BASE_URL] WAGTAIL_ALLOW_UNICODE_SLUGS = False WAGTAIL_USAGE_COUNT_ENABLED = True