mirror of
https://github.com/jazzband/django-axes.git
synced 2026-03-16 22:30:23 +00:00
Improve command documentation format
This commit is contained in:
parent
430946a9d1
commit
1b3bd0f99e
1 changed files with 2 additions and 2 deletions
|
|
@ -17,9 +17,9 @@ management commands with the Django ``manage.py`` command helpers:
|
|||
|
||||
- ``python manage.py axes_reset``
|
||||
will reset all lockouts and access records.
|
||||
- ``python manage.py axes_reset_ip ip [ip ...]``
|
||||
- ``python manage.py axes_reset_ip [ip ...]``
|
||||
will clear lockouts and records for the given IP addresses.
|
||||
- ``python manage.py axes_reset_username username [username ...]``
|
||||
- ``python manage.py axes_reset_username [username ...]``
|
||||
will clear lockouts and records for the given usernames.
|
||||
|
||||
In your code, you can use the ``axes.utils.reset`` function.
|
||||
|
|
|
|||
Loading…
Reference in a new issue