django-defender/defender
Roman Gorbil 1e0aa91952
Fix watch_login with custom username (#228)
Previously using of custom `get_username` function with disabled IP
lockout caused unhandled exception
Exception("Invalid state requested")
2023-11-09 06:41:49 -06: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 Example djangorestframework auth method 2017-03-21 11:03:42 -04:00
__init__.py Bump version 0.9.7 2023-02-27 17:39:23 -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 Drop Django 2.2 support 2022-04-13 17:46:42 +03: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 Replace datetime.now with timezone.now (#232) 2023-07-13 16:58:47 -04: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 Fix watch_login with custom username (#228) 2023-11-09 06:41:49 -06:00
urls.py Drop support Django < 2.2 and add support for Django > 3 2020-11-27 16:32:46 +01:00
utils.py Fix watch_login with custom username (#228) 2023-11-09 06:41:49 -06:00
views.py Drop support Django < 2.2 and add support for Django > 3 2020-11-27 16:32:46 +01:00