| Age | Commit message (Collapse) | Author |
|
|
|
Rewrapped long docstrings and block comments to 79 characters + newline
using script from https://github.com/medmunds/autofix-w505.
|
|
|
|
datetime.UTC was added in Python 3.11.
|
|
Thanks Andrew-Chen-Wang for the initial implementation which was posted
to the Django forum thread about asyncifying contrib modules.
|
|
Unused since its introduction in bcf7e9a9fe037eff4d5dea0cdd8c35104590e1a8.
|
|
|
|
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
|
|
|
|
Remaining test case ensures that uses of the alias are mapped
canonically by the migration writer.
|
|
|
|
|
|
|
|
- Replaced datetime.utcnow() with datetime.now().
- Replaced datetime.utcfromtimestamp() with datetime.fromtimestamp().
- Replaced datetime.utctimetuple() with datetime.timetuple().
- Replaced calendar.timegm() and datetime.utctimetuple() with datetime.timestamp().
|
|
sessions.
Per deprecation timeline.
|
|
Per deprecation timeline.
|
|
Thanks Matt Hegarty for the report.
Regression in d4fff711d4c97356bd6ba1273d2a5e349326eb5f.
|
|
Thanks אורי for the report.
|
|
Thanks Mariusz Felisiak and Florian Apolloner for the reviews.
|
|
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.
|
|
better performance."
This reverts commit 27ca5ce19f5f184018a61611c1bc319113b1d107 due to a
regression.
|
|
|
|
continue statements.
|
|
|
|
|
|
|
|
|
|
|
|
This reverts commit 550cb3a365dee4edfdd1563224d5304de2a57fda
because try/except performs better.
|
|
|
|
|
|
is None.
|
|
Thanks Tim Graham for the review.
|
|
|
|
|
|
|
|
|
|
|
|
These methods only work on Python 2.
|
|
|
|
Thanks Tim Graham for the review.
|
|
|
|
|
|
KeyError.
|
|
|