mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
[2.0.x] Expanded docs for AbstractBaseUser.has_usable_password().
Backport of 92f48680db
from master
This commit is contained in:
parent
ed206a9b99
commit
c2962d8147
2 changed files with 8 additions and 1 deletions
|
@ -212,7 +212,9 @@ Methods
|
|||
|
||||
Returns ``False`` if
|
||||
:meth:`~django.contrib.auth.models.User.set_unusable_password()` has
|
||||
been called for this user.
|
||||
been called for this user, or if the password is ``None``, or if the
|
||||
password uses a hasher that's not in the :setting:`PASSWORD_HASHERS`
|
||||
setting.
|
||||
|
||||
.. method:: get_group_permissions(obj=None)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue