Deprecate the old version 4.x AxesModelBackend class

Fixes #430
This commit is contained in:
Aleksi Häkli 2019-05-19 16:41:24 +03:00 committed by Aleksi Häkli
parent 05fe0e306b
commit 9517e252e0
2 changed files with 3 additions and 8 deletions

View file

@ -14,6 +14,9 @@ Changes
- Improve documentation on attempt tracking, resets, and customization.
[aleksihakli]
- Deprecate the old version 4.x ``axes.backends.AxesModelBackend`` class.
[aleksihakli]
5.0.4 (2019-05-09)
------------------

View file

@ -52,11 +52,3 @@ class AxesBackend(ModelBackend):
# in the axes.middleware.AxesMiddleware.process_exception middleware exception handler.
raise AxesBackendPermissionDenied('AxesBackend detected that the given user is locked out')
class AxesModelBackend(AxesBackend):
"""
Backwards compatibility class for version 4 to version 5 migration.
See the ``AxesBackend`` class documentation and implementation.
"""