mirror of
https://github.com/jazzband/django-axes.git
synced 2026-03-16 22:30:23 +00:00
fix kwargs bug
This commit is contained in:
parent
30c4347a77
commit
b74dec0151
1 changed files with 0 additions and 2 deletions
|
|
@ -7,8 +7,6 @@ class Command(BaseCommand):
|
|||
"IP, resets only for that IP")
|
||||
|
||||
def handle(self, *args, **kwargs):
|
||||
if kwargs:
|
||||
raise CommandError("Reset does not take named arguments")
|
||||
if args:
|
||||
for ip in args:
|
||||
reset(ip)
|
||||
|
|
|
|||
Loading…
Reference in a new issue