diff options
| author | Tim Graham <timograham@gmail.com> | 2018-01-27 11:02:26 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2018-01-27 11:03:41 -0500 |
| commit | 92f48680dbd2e02f2b33f6ad0e35b7d337889fb2 (patch) | |
| tree | 424037eca69b91970d93cfc8842c3afcaf3b96df /docs | |
| parent | a455e732a0011dfbd15eddaa4fe60cb9439326e0 (diff) | |
Expanded docs for AbstractBaseUser.has_usable_password().
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/contrib/auth.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/ref/contrib/auth.txt b/docs/ref/contrib/auth.txt index b3fca78d73..e05280367c 100644 --- a/docs/ref/contrib/auth.txt +++ b/docs/ref/contrib/auth.txt @@ -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) |
