fix typo in CSRF setting, fix pep8 issues
This commit is contained in:
parent
7cbacedaf1
commit
60f03b0472
@ -217,7 +217,7 @@ CSRF_FAILURE_VIEW = 'nsupdate.main.views.CsrfFailureView'
|
|||||||
CSRF_COOKIE_NAME = 'csrftoken'
|
CSRF_COOKIE_NAME = 'csrftoken'
|
||||||
CSRF_COOKIE_PATH = '/'
|
CSRF_COOKIE_PATH = '/'
|
||||||
CSRF_COOKIE_SECURE = False
|
CSRF_COOKIE_SECURE = False
|
||||||
SESSION_COOKIE_HTTPONLY = False
|
CSRF_COOKIE_HTTPONLY = False
|
||||||
|
|
||||||
# Settings for session cookie.
|
# Settings for session cookie.
|
||||||
SESSION_COOKIE_NAME = 'sessionid'
|
SESSION_COOKIE_NAME = 'sessionid'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user