From acf9d6404545c58522c3011348d071d6bfca8f69 Mon Sep 17 00:00:00 2001 From: adamth Date: Mon, 23 Apr 2018 21:37:26 +1000 Subject: [PATCH] Fixed typos in docs/topics/auth/passwords.txt. --- docs/topics/auth/passwords.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/topics/auth/passwords.txt b/docs/topics/auth/passwords.txt index 5d2c04b364..7b72c4292d 100644 --- a/docs/topics/auth/passwords.txt +++ b/docs/topics/auth/passwords.txt @@ -385,7 +385,7 @@ Manually managing a user's password .. module:: django.contrib.auth.hashers The :mod:`django.contrib.auth.hashers` module provides a set of functions -to create and validate hashed password. You can use them independently +to create and validate hashed passwords. You can use them independently from the ``User`` model. .. function:: check_password(password, encoded) @@ -404,8 +404,8 @@ from the ``User`` model. provide a salt and a hashing algorithm to use, if you don't want to use the defaults (first entry of ``PASSWORD_HASHERS`` setting). See :ref:`auth-included-hashers` for the algorithm name of each hasher. If the - password argument is ``None``, an unusable password is returned (a one that - will be never accepted by :func:`check_password`). + password argument is ``None``, an unusable password is returned (one that + will never be accepted by :func:`check_password`). .. function:: is_password_usable(encoded_password)