summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjelle van der Waa <jelle@vdwaa.nl>2019-09-10 19:57:51 +0200
committerGitHub <noreply@github.com>2019-09-10 19:57:51 +0200
commitb1eee27fc85fcef27b1dd756a62d3e656c4f64bc (patch)
tree76ba4b7f262dfafff2020493e81d9ec089a7283c
parent18574f2f9f645c875f1712bf6304d47816efb07a (diff)
parent7f1606f21726a20e8119f0fc1c20147ebcc65437 (diff)
downloadarchweb-b1eee27fc85fcef27b1dd756a62d3e656c4f64bc.tar.gz
archweb-b1eee27fc85fcef27b1dd756a62d3e656c4f64bc.zip
Merge pull request #238 from 5long/local-devel-csrf-setting
Developing locally needs CSRF_COOKIE_SECURE=False
-rw-r--r--local_settings.py.example3
1 files changed, 2 insertions, 1 deletions
diff --git a/local_settings.py.example b/local_settings.py.example
index 7a04bf1e..f5b167f5 100644
--- a/local_settings.py.example
+++ b/local_settings.py.example
@@ -39,10 +39,11 @@ CACHES = {
}
}
-## Use secure session cookies? Make this true if you want all
+## Use secure session cookies? Make these True if you want all
## logged-in actions to take place over HTTPS only. If developing
## locally, you will want to use False.
SESSION_COOKIE_SECURE = False
+CSRF_COOKIE_SECURE = False
## location for saving dev pictures
MEDIA_ROOT = '/srv/example.com/img/'