summaryrefslogtreecommitdiffstats
path: root/takahe/settings/development.py
diff options
context:
space:
mode:
Diffstat (limited to 'takahe/settings/development.py')
-rw-r--r--takahe/settings/development.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/takahe/settings/development.py b/takahe/settings/development.py
index 4e0098b..54bc35d 100644
--- a/takahe/settings/development.py
+++ b/takahe/settings/development.py
@@ -11,3 +11,9 @@ MIDDLEWARE.insert(0, "core.middleware.AlwaysSecureMiddleware")
# Ensure debug features are on
DEBUG = True
CRISPY_FAIL_SILENTLY = False
+
+ALLOWED_HOSTS = ["*"]
+CSRF_TRUSTED_ORIGINS = [
+ "http://127.0.0.1:8000",
+ "https://127.0.0.1:8000",
+]