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
b1eee27f
Unverified
Commit
b1eee27f
authored
Sep 10, 2019
by
Jelle van der Waa
🚧
Committed by
GitHub
Sep 10, 2019
Browse files
Merge pull request #238 from 5long/local-devel-csrf-setting
Developing locally needs CSRF_COOKIE_SECURE=False
parents
18574f2f
7f1606f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
local_settings.py.example
View file @
b1eee27f
...
...
@@ -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