mirror of
https://github.com/jazzband/django-axes.git
synced 2026-05-10 16:44:45 +00:00
Fixes #634 The Django import system seems to produce errors in certain configurations and especially when MIGRATION_MODULES configuration is set globally. This is most probably caused by misbehaving or cyclic Python module imports in the Django application instrumentatation chain that come up when the MIGRATION_MODULES configuration is altered. This patch migrates to the standard Python logging system use and has less overhead and complexity for users as well. Having a configurable logging prefix does not produce a lot of benefits and is less flexible than having all individual module logging configurations accessible through the module __name__ parameter in Axes. For example axes.handlers.* or axes.backends.* are separately configurable in the new scheme whereas they would have been both bundled under the AXES_LOGGER log configuration. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| base.py | ||
| settings.py | ||
| test_admin.py | ||
| test_attempts.py | ||
| test_backends.py | ||
| test_checks.py | ||
| test_decorators.py | ||
| test_handlers.py | ||
| test_helpers.py | ||
| test_logging.py | ||
| test_login.py | ||
| test_management.py | ||
| test_middleware.py | ||
| test_models.py | ||
| test_signals.py | ||
| test_utils.py | ||
| urls.py | ||
| urls_empty.py | ||