diff options
author | Whyme Lyu <callme5long@gmail.com> | 2019-09-09 21:25:45 +0800 |
---|---|---|
committer | Whyme Lyu <callme5long@gmail.com> | 2019-09-09 21:27:35 +0800 |
commit | 7f1606f21726a20e8119f0fc1c20147ebcc65437 (patch) | |
tree | 76ba4b7f262dfafff2020493e81d9ec089a7283c | |
parent | 18574f2f9f645c875f1712bf6304d47816efb07a (diff) | |
download | archweb-7f1606f21726a20e8119f0fc1c20147ebcc65437.tar.gz archweb-7f1606f21726a20e8119f0fc1c20147ebcc65437.zip |
Developing locally needs CSRF_COOKIE_SECURE=False
-rw-r--r-- | local_settings.py.example | 3 |
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/' |