Keep track of failed login attempts in Django-powered sites.
Find a file
Jack Sullivan 95917a951e In tests, only set cooldown if testing it
The results for the cache unit tests were inconsistent, sometimes
blocking and other time allowing. The source of the non-determinism
was the COOLDOWN_TIME set to 2 seconds in the test. If a test took
slightly longer than the cooldown time, it would fail. Testing times
on Travis CI vary with each build, and would produce unreliable
results.

Now all tests have no cooldown period, except when the cooldown
itself is being tested. This ensures accurate and predicable test
results.
2017-04-26 12:49:44 -07:00
axes In tests, only set cooldown if testing it 2017-04-26 12:49:44 -07:00
docs Fixed #221 -- Add AXES_NUM_PROXIES setting 2017-04-06 19:50:54 +03:00
.gitignore Ignore tox files 2016-07-31 21:43:13 +02:00
.travis.yml Fix and add tests for IPv4 and IPv6 parsing 2016-11-21 21:33:55 +02:00
CHANGES.txt Bump version 2016-11-24 08:55:38 -05:00
CONTRIBUTING.md Add CONTRIBUTING.md according to jazzband guidelines 2016-07-30 16:14:30 +02:00
LICENSE GC #1 - I've implemented some of the groovy features offered by philipn. Thanks! 2009-12-16 23:24:30 -05:00
Makefile Update makefile; add reqs 2016-06-20 16:06:16 -04:00
manage.py Add Django, demo project/app for testing 2016-06-20 16:32:37 -04:00
MANIFEST.in 🔥 Removed example project 2016-06-24 09:46:55 -05:00
README.rst Updated readme.rst with svg badge 2016-10-27 20:13:02 +03:00
requirements.txt Fix #192 -- AXES_DISABLE_ACCESS_LOG doesn't work. 2016-09-23 14:58:29 +01:00
runtests.py Test blocking configs, without the cache enabled. 2017-04-22 18:48:31 -07:00
runtests_proxy.py Fix and add tests for IPv4 and IPv6 parsing 2016-11-21 21:33:55 +02:00
runtests_proxy_custom_header.py Fix and add tests for IPv4 and IPv6 parsing 2016-11-21 21:33:55 +02:00
setup.py Release 2.0.0 2016-06-24 11:55:13 -05:00

Django Axes
===========

.. image:: https://jazzband.co/static/img/badge.svg
   :target: https://jazzband.co/
   :alt: Jazzband

.. image:: https://secure.travis-ci.org/jazzband/django-axes.svg?branch=master
   :target: http://travis-ci.org/jazzband/django-axes
   :alt: Build Status

.. image:: https://coveralls.io/repos/github/jazzband/django-axes/badge.svg?branch=master
   :target: https://coveralls.io/github/jazzband/django-axes?branch=master
   :alt: Coveralls


``django-axes`` is a very simple way for you to keep track of failed login
attempts, both for the Django admin and for the rest of your site. The name is
sort of a geeky pun, since ``axes`` can be read interpreted as:

* "access", as in monitoring access attempts
* "axes", as in tools you can use hack (generally on wood). In this case,
  however, the "hacking" part of it can be taken a bit further: ``django-axes``
  is intended to help you *stop* people from hacking (popular media
  definition) your website. Hilarious, right? That's what I thought too!


For more information see the documentation at:

https://django-axes.readthedocs.io/

If you have questions or have trouble using the app please file a bug report
at:

https://github.com/jazzband/django-axes/issues