Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

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


Release history Release notifications

This version
History Node

0.9.13

History Node

0.9.12

History Node

0.9.11

History Node

0.9.10

History Node

0.9.9

History Node

0.9.8

History Node

0.9.7

History Node

0.9.6

History Node

0.9.5

History Node

0.9.4

History Node

0.9.3

History Node

0.9.2

History Node

0.9.1

History Node

0.9

History Node

0.8.1

History Node

0.8

History Node

0.7.4

History Node

0.7.3

History Node

0.7.2

History Node

0.7.1

History Node

0.7

History Node

0.6

History Node

0.5

History Node

0.4

History Node

0.3

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
django-auth-policy-0.9.13.tar.gz (31.2 kB) Copy SHA256 hash SHA256 Source None May 3, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page