pwned-passwords-django 1.4.1 supports Django 2.2, 3.0, and 3.1, on the following Python versions:

  • Django 2.2 supports Python 3.5, 3.6, 3.7, and 3.8.
  • Django 3.0 and 3.1 support Python 3.6, 3.7, and 3.8.

To install pwned-passwords-django, run:

pip install pwned-passwords-django

This will use pip, the standard Python package-installation tool. If you are using a supported version of Python, your installation of Python should have come with pip bundled. To make sure you have the latest version of pip, run:

python -m ensurepip --upgrade

If this fails, instructions are available for how to obtain and manually install pip.

If you don’t already have a supported version of Django installed, using pip to install pwned-passwords-django will also install the latest supported version of Django.

Configuration and use

You may need to modify certain Django settings, depending on how you’d like to use pwned-passwords-django. See the following documentation for notes on additional configuration: