From 464b98b1feda5e5b41c961cf4386cc116f1618bd Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Thu, 17 Apr 2014 11:28:09 -0700 Subject: Include an 'extra_requires' for bcrypt --- docs/topics/auth/passwords.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs') diff --git a/docs/topics/auth/passwords.txt b/docs/topics/auth/passwords.txt index 7ddbc63b9a..204e30b944 100644 --- a/docs/topics/auth/passwords.txt +++ b/docs/topics/auth/passwords.txt @@ -76,9 +76,9 @@ use it Django supports bcrypt with minimal effort. To use Bcrypt as your default storage algorithm, do the following: -1. Install the `bcrypt library`_ (probably by running ``sudo pip install - bcrypt``, or downloading the library and installing it with ``python - setup.py install``). +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``). 2. Modify :setting:`PASSWORD_HASHERS` to list ``BCryptSHA256PasswordHasher`` first. That is, in your settings file, you'd put:: -- cgit v1.3 From 0e27882b3a51a09edf2ce0e8ca1a4480aea335b5 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Thu, 17 Apr 2014 11:29:07 -0700 Subject: Stray paren --- docs/topics/auth/passwords.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/topics/auth/passwords.txt b/docs/topics/auth/passwords.txt index 204e30b944..df070706f4 100644 --- a/docs/topics/auth/passwords.txt +++ b/docs/topics/auth/passwords.txt @@ -78,7 +78,7 @@ 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``). + ``python setup.py install``. 2. Modify :setting:`PASSWORD_HASHERS` to list ``BCryptSHA256PasswordHasher`` first. That is, in your settings file, you'd put:: -- cgit v1.3