diff options
Diffstat (limited to 'docs/authentication.txt')
| -rw-r--r-- | docs/authentication.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/authentication.txt b/docs/authentication.txt index 972ca42073..5e5ecdf908 100644 --- a/docs/authentication.txt +++ b/docs/authentication.txt @@ -325,7 +325,7 @@ Manually checking a user's password If you'd like to manually authenticate a user by comparing a plain-text password to the hashed password in the database, use the -convenience function `django.contrib.auth.models.check_password`. It +convenience function ``django.contrib.auth.models.check_password``. It takes two arguments: the plain-text password to check, and the full value of a user's ``password`` field in the database to check against, and returns ``True`` if they match, ``False`` otherwise. |
