From 85efc14a2edac532df1a9ad4dd9b6d4a4dcf583e Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Thu, 7 Nov 2019 15:53:30 +0100 Subject: Fixed #30948 -- Changed packaging to use declarative config in setup.cfg. Co-authored-by: Nick Pope --- docs/topics/auth/passwords.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/topics') diff --git a/docs/topics/auth/passwords.txt b/docs/topics/auth/passwords.txt index 44e80911ba..134ef14583 100644 --- a/docs/topics/auth/passwords.txt +++ b/docs/topics/auth/passwords.txt @@ -89,7 +89,7 @@ To use Argon2 as your default storage algorithm, do the following: #. Install the `argon2-cffi library`_. This can be done by running ``python -m pip install django[argon2]``, which is equivalent to ``python -m pip install argon2-cffi`` (along with any version requirement - from Django's ``setup.py``). + from Django's ``setup.cfg``). #. Modify :setting:`PASSWORD_HASHERS` to list ``Argon2PasswordHasher`` first. That is, in your settings file, you'd put:: @@ -119,7 +119,7 @@ To use Bcrypt as your default storage algorithm, do the following: #. Install the `bcrypt library`_. This can be done by running ``python -m pip install django[bcrypt]``, which is equivalent to ``python -m pip install bcrypt`` (along with any version requirement from - Django's ``setup.py``). + Django's ``setup.cfg``). #. Modify :setting:`PASSWORD_HASHERS` to list ``BCryptSHA256PasswordHasher`` first. That is, in your settings file, you'd put:: -- cgit v1.3