Skip to main content

Enforces a couple of common authentication policies for the Django web framework.

Project description

A future version of this package will get a new name and will become Django independent, with an optional Django integration module(s).

Django Auth Policy is a set of tools to enforce various authentication policies when using the Django Web Framework (http://www.djangoproject.com/).

Available policy rules:

  • disable users that did not login for a certain amount of time;

  • temporarily lock-out users with too many failed login attempts;

  • temporarily lock-out IP addresses with too many failed login attempts;

  • enforce a minimum password length;

  • enforce password complexity rules;

  • require a password change after a certain period;

  • require a password change when a temporary password has been set, eg. when the user administrator provides passwords for (new) users.

Every policy can be disabled and many configuration options are available, see django_auth_policy/settings.py.

Documentation is currently very limited and available in the “docs” directory.

To run the test suite run run-tests.py or tox.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-auth-policy-0.9.13.tar.gz (31.2 kB view details)

Uploaded Source

File details

Details for the file django-auth-policy-0.9.13.tar.gz.

File metadata

File hashes

Hashes for django-auth-policy-0.9.13.tar.gz
Algorithm Hash digest
SHA256 e6f461310b1cba7f2d9bcb27c1276dee3c965ad384bdff713947d05f97f62759
MD5 88ca159aad2354534775687a37aba4cd
BLAKE2b-256 b18a1a216f2fedd607d0051e9da7a5fb9a4f5ba3b15112ca987416484e311946

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page