mirror of
https://github.com/jazzband/django-axes.git
synced 2026-03-16 22:30:23 +00:00
parent
05fe0e306b
commit
9517e252e0
2 changed files with 3 additions and 8 deletions
|
|
@ -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)
|
||||
------------------
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue