django-defender/defender
Yurii Parfinenko 289af19ce9
Some checks failed
Test / build (3.10, 5) (push) Has been cancelled
Test / build (3.10, 6) (push) Has been cancelled
Test / build (3.10, 7) (push) Has been cancelled
Test / build (3.11, 5) (push) Has been cancelled
Test / build (3.11, 6) (push) Has been cancelled
Test / build (3.11, 7) (push) Has been cancelled
Test / build (3.12, 5) (push) Has been cancelled
Test / build (3.12, 6) (push) Has been cancelled
Test / build (3.12, 7) (push) Has been cancelled
Test / build (3.13, 5) (push) Has been cancelled
Test / build (3.13, 6) (push) Has been cancelled
Test / build (3.13, 7) (push) Has been cancelled
Test / build (3.9, 5) (push) Has been cancelled
Test / build (3.9, 6) (push) Has been cancelled
Test / build (3.9, 7) (push) Has been cancelled
Use redis cache in get_approx_account_lockouts_from_login_attempts (#250)
* Use redis cache in `get_approx_account_lockouts_from_login_attempts`

* use django_redis in ci

* Add `django_redis` and `redis` to requirements.txt

* Fix an issue detected by tests: clear redis cache upon block reset

* Remove the unnecessary `if`
2026-01-29 12:53:21 -05:00
..
management Drop Python2.7 support. 2020-11-23 17:30:46 +01:00
migrations Drop Python2.7 support. 2020-11-23 17:30:46 +01:00
templates Improved the "Blocked Logins" page's admin integration (#239) 2024-02-14 18:10:03 -05:00
__init__.py Bump 0.9.8 2024-02-15 16:40:06 -05:00
admin.py PEP8 formatting (#147) 2019-11-15 20:22:14 +02:00
apps.py Define AppConfig.default_auto_field to match the initial migration 2021-12-13 21:00:46 +01:00
ci_settings.py Use redis cache in get_approx_account_lockouts_from_login_attempts (#250) 2026-01-29 12:53:21 -05:00
config.py Add pragma: no cover comments even though some of this stuff is covered... 2022-11-13 11:09:53 -05:00
connection.py Use redis parse_url method instead of a custom one (#234) 2023-10-12 13:20:58 -04:00
data.py Use redis cache in get_approx_account_lockouts_from_login_attempts (#250) 2026-01-29 12:53:21 -05:00
decorators.py Fix watch_login with custom username (#228) 2023-11-09 06:41:49 -06:00
middleware.py Drop support Django < 2.2 and add support for Django > 3 2020-11-27 16:32:46 +01:00
models.py Drop Python2.7 support. 2020-11-23 17:30:46 +01:00
signals.py Fix failing tests to work with Django (4.0) main dev branch 2021-04-29 06:50:36 -04:00
tasks.py dynamic load celery (#163) 2020-09-04 15:11:19 -04:00
test.py Add support for Python 3.9 2020-11-27 16:32:46 +01:00
test_settings.py Add new config options and update logic/tests to account for them 2022-11-13 11:09:53 -05:00
test_urls.py Drop support Django < 2.2 and add support for Django > 3 2020-11-27 16:32:46 +01:00
tests.py Use redis cache in get_approx_account_lockouts_from_login_attempts (#250) 2026-01-29 12:53:21 -05:00
urls.py Drop support Django < 2.2 and add support for Django > 3 2020-11-27 16:32:46 +01:00
utils.py Use redis cache in get_approx_account_lockouts_from_login_attempts (#250) 2026-01-29 12:53:21 -05:00
views.py Improved the "Blocked Logins" page's admin integration (#239) 2024-02-14 18:10:03 -05:00