django-axes/axes/tests
Aleksi Häkli 3152b4d7e9 Improve lockout and request handling
The old architecture used exceptions in the signal handler
which prevented transactions from running smoothly
and signal handlers from running after Axes handlers.

The new architecture changes the request approach to request flagging
and moves the exception handling into the middleware call method.

This allows users to more flexibly run their own signal handlers
and optionally use the Axes middleware if they want to do so.

Fixes #440
Fixes #442
2019-05-19 18:32:40 +03:00
..
__init__.py Drop Python 2.7 and Python 3.4 support 2019-02-07 17:28:26 +02:00
base.py Improve lockout and request handling 2019-05-19 18:32:40 +03:00
settings.py Use LocMemCache in the development setup 2019-02-26 16:49:35 +02:00
test_attempts.py Add tests for cool off thresholds 2019-03-09 21:49:45 +02:00
test_backends.py Add cache handler and refactor tests 2019-02-23 20:19:37 +02:00
test_checks.py Improve check structure and types 2019-05-01 15:23:16 +03:00
test_decorators.py Add cache handler and refactor tests 2019-02-23 20:19:37 +02:00
test_handlers.py Improve documentation 2019-04-27 18:51:02 +03:00
test_logging.py Set Axes request attributes in middleware 2019-03-03 22:13:13 +02:00
test_login.py Add tests for django.contrib.auth login and logout 2019-05-08 13:57:42 +03:00
test_management.py Add cache handler and refactor tests 2019-02-23 20:19:37 +02:00
test_middleware.py Improve lockout and request handling 2019-05-19 18:32:40 +03:00
test_models.py Add cache handler and refactor tests 2019-02-23 20:19:37 +02:00
test_signals.py Add cache handler and refactor tests 2019-02-23 20:19:37 +02:00
test_utils.py Improve lockout and request handling 2019-05-19 18:32:40 +03:00
urls.py Use pytest for test runner 2019-02-20 23:05:21 +02:00