| Age | Commit message (Collapse) | Author |
|
|
|
Rewrapped long docstrings and block comments to 79 characters + newline
using script from https://github.com/medmunds/autofix-w505.
|
|
Thanks Andrew-Chen-Wang for the initial implementation which was posted
to the Django forum thread about asyncifying contrib modules.
|
|
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
|
|
|
|
|
|
Black 23.1.0 is released which, as the first release of the year,
introduces the 2023 stable style. This incorporates most of last year's
preview style.
https://github.com/psf/black/releases/tag/23.1.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sessions.
Per deprecation timeline.
|
|
is not implemented.
|
|
|
|
destroyed while request is processing.
|
|
Thanks Matt Hegarty for the report.
Regression in d4fff711d4c97356bd6ba1273d2a5e349326eb5f.
|
|
Thanks אורי for the report.
|
|
HttpResponse.delete_cookie().
Cookies with the "SameSite" flag set to None and without the "secure"
flag will be soon rejected by latest browser versions.
This affects sessions and messages cookies.
|
|
Thanks Mariusz Felisiak and Florian Apolloner for the reviews.
|
|
classes.
This is the new contract since middleware refactoring in Django 1.10.
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
|
|
|
|
SessionStore.get_session_cookie_age().
|
|
|
|
Used more specific errors (e.g. FileExistsError) as appropriate.
|
|
|
|
SessionBase.decode() is the inverse operation to SessionBase.encode().
As SessionBase.encode() always returns a string, SessionBase.decode()
should always be passed a string argument. Fixed the file backend, which
was the only backend still passing a bytestring.
|
|
Thanks Tim Graham for the review.
|
|
Thanks Alex Gaynor for contributing to the patch.
|
|
|
|
|
|
|
|
|
|
|
|
is None.
|
|
Thanks Tim Graham for the review.
|
|
|
|
|
|
|
|
These methods only work on Python 2.
|
|
|
|
Thanks Tim Graham for the review.
|
|
|
|
SuspiciousOperation.
|
|
|
|
Also removed try/except/fail antipattern that hides exceptions.
|
|
SESSION_COOKIE_PATH.
|
|
|
|
KeyError.
|