-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: add
AXES_LOCKOUT_PARAMETERS
flag
BREAKING CHANGE: add `AXES_LOCKOUT_PARAMETERS` flag which accepts an iterable of keys or a callable that resolves an iterable. The key can be a string (represents a single parameter) or an Iterable of strings (represents a combined parameter). For example, using this parameters ```python AXES_LOCKOUT_PARAMETERS = [ "ip_address", ("username", "user_agent"), ] ``` axes will block users by IP and/or combination of username and user agent
1 parent
494ba2a
commit db25896
Showing
1 changed file
with
24 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters