sessions.backends.base.SessionBase.set_test_cookie()

set_test_cookie()

Sets a test cookie to determine whether the user’s browser supports cookies. Due to the way cookies work, you won’t be able to test this until the user’s next page request. See Setting test cookies below for more information.

doc_Django
2016-10-09 18:39:30
Comments
Leave a Comment

Please login to continue.