mirror of
https://github.com/jazzband/django-axes.git
synced 2026-05-27 08:24:02 +00:00
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
|
||
|---|---|---|
| .. | ||
| handlers | ||
| locale | ||
| management | ||
| migrations | ||
| __init__.py | ||
| admin.py | ||
| apps.py | ||
| attempts.py | ||
| backends.py | ||
| checks.py | ||
| conf.py | ||
| decorators.py | ||
| exceptions.py | ||
| helpers.py | ||
| middleware.py | ||
| models.py | ||
| signals.py | ||
| utils.py | ||