Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Jelle van der Waa
Archweb
Commits
7f1606f2
Commit
7f1606f2
authored
Sep 09, 2019
by
Whyme Lyu
Browse files
Developing locally needs CSRF_COOKIE_SECURE=False
parent
18574f2f
Changes
1
Hide whitespace changes
Inline
Side-by-side
local_settings.py.example
View file @
7f1606f2
...
...
@@ -39,10 +39,11 @@ CACHES = {
}
}
## Use secure session cookies? Make th
is t
rue if you want all
## Use secure session cookies? Make th
ese T
rue 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/'
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment