Skip to content

brutasse/django-ratelimit-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ed1364e · May 8, 2019
May 8, 2019
Aug 27, 2018
Oct 18, 2017
Sep 9, 2016
Aug 26, 2018
Oct 18, 2011
Jul 10, 2015
Jan 6, 2017
Oct 18, 2017
Aug 29, 2016
Oct 18, 2017
Aug 26, 2018

Repository files navigation

Django-ratelimit-backend

Build Status

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.

Credits

Hacking

git clone https://[email protected]/brutasse/django-ratelimit-backend.git

Hack and run the tests:

python setup.py test

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

pip install tox
tox