| Age | Commit message (Collapse) | Author |
|
Thanks Olivier Dalang, Tim McCurrach, Sarah Boyce, and Mar Bartolome for reviews.
|
|
deferred annotations.
Provide a wrapper for safe introspection of user functions on Python 3.14+.
Follow-up to 601914722956cc41f1f2c53972d669ddee6ffc04.
|
|
Rewrapped long docstrings and block comments to 79 characters + newline
using script from https://github.com/medmunds/autofix-w505.
|
|
|
|
|
|
|
|
|
|
related methods test clients.
|
|
|
|
ValueError on string or non-iterable perm_list.
|
|
Co-authored-by: Collin Anderson <collin@onetencommunications.com>
|
|
authenticate() methods of authentication backends.
The Signature API (PEP 362) has better support for decorated functions
(by default, it follows the __wrapped__ attribute set by
functools.wraps for example).
|
|
ModelBackend.authenticate() when credentials aren't provided.
There's no need to fetch a user instance from the database unless
a username and a password are provided as credentials.
|
|
Added to mirror the existing User.get_group_permissions().
|
|
|
|
|
|
|
|
|
|
|
|
get_user_permissions().
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PermissionDenied.
|
|
Thanks to Tim Graham for the review.
|
|
|
|
Added an optional `backend` argument to login().
|
|
This is a relic of when the tests were stored in contrib.auth.tests.
|
|
The reverse() added in 50aa1a790ca66c2a93e0a52e00c53375b269ff49
crashed on a custom user model.
|
|
|
|
|
|
session.
This allows using a UUIDField primary key along with the JSON session
serializer.
Thanks to Trac alias jamesbeith for the report and Simon Charette
for the initial patch.
|
|
|
|
|