django-ratelimit-backend 1.2 2017-09-13 ✔ PY2 ✔ PY3

django-ratelimit-backend on PyPI  

Login rate-limiting at the auth backend level

AuthorBruno Renié
LicenseBSD licence, see LICENCE file


Rate-limit your login attempts at the authentication backend level. Login attempts are stored in the cache for 5 minutes and IPs with more than 30 failed login attempts in the last 5 minutes are blocked.

The numbers (30 attempts, 5 minutes) as well as the blocking strategy can be customized.



git clone

Hack and run the tests:

python test

To run the tests for all supported Python and Django versions:

pip install tox