Skip to content

PsypherPunk/django-pwny

Repository files navigation

django-pwny

Have I Been Pwned? password validator. Inspired by a blog post on the subject.

Quickstart

Install django-pwny:

pip install django-pwny

Add it to your AUTH_PASSWORD_VALIDATORS:

AUTH_PASSWORD_VALIDATORS = [
    ...
    "pwny.validation.HaveIBeenPwnedValidator",
    ...
]

Running Tests

django-pwny makes use of pytest-dev/pytest-django to run tests via pytest.

Assuming dependencies are installed, simply run:

pytest

Credits

Tools used in rendering this package:

About

Have I Been Pwned? password validator for Django.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages