Merge pull request #2583 from alex/extras-bcrypt

Include an 'extra_requires' for bcrypt
This commit is contained in:
Donald Stufft 2014-04-17 15:59:37 -04:00
commit 438e6fe63d
2 changed files with 6 additions and 3 deletions

View file

@ -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::