summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2016-08-19 19:23:12 -0400
committerGitHub <noreply@github.com>2016-08-19 19:23:12 -0400
commit9f27735612fc775380d7801c68af0ea1c97cf5a3 (patch)
tree868285c1678aa9b5e6e7e11316586618748daa9b /docs
parent1f68bb5683608ebe1ce47f0c9d37dad9482d1df9 (diff)
Fixed #27013 -- Clarified commands to install argon2/bcrypt packages.
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/auth/passwords.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/topics/auth/passwords.txt b/docs/topics/auth/passwords.txt
index 41a908d2d3..da2bc57df8 100644
--- a/docs/topics/auth/passwords.txt
+++ b/docs/topics/auth/passwords.txt
@@ -90,8 +90,8 @@ use of Argon2 rather than the other algorithms supported by Django.
To use Argon2 as your default storage algorithm, do the following:
1. Install the `argon2-cffi library`_. This can be done by running ``pip
- install django[argon2]`` or by downloading the library and installing it
- with ``python setup.py install``.
+ install django[argon2]``, which is equivalent to ``pip install argon2-cffi``
+ (along with any version requirement from Django's ``setup.py``).
2. Modify :setting:`PASSWORD_HASHERS` to list ``Argon2PasswordHasher`` first.
That is, in your settings file, you'd put::
@@ -120,8 +120,8 @@ use it Django supports bcrypt with minimal effort.
To use Bcrypt as your default storage algorithm, do the following:
1. Install the `bcrypt library`_. This can be done by running ``pip install
- django[bcrypt]``, or by downloading the library and installing it with
- ``python setup.py install``.
+ django[bcrypt]``, which is equivalent to ``pip install bcrypt`` (along with
+ any version requirement from Django's ``setup.py``).
2. Modify :setting:`PASSWORD_HASHERS` to list ``BCryptSHA256PasswordHasher``
first. That is, in your settings file, you'd put::