mirror of
https://github.com/jazzband/django-auditlog.git
synced 2026-05-02 20:54:42 +00:00
Merge pull request #92 from goodmase/master
Fixed autologflush for django 1.10
This commit is contained in:
commit
c17d45a13c
1 changed files with 3 additions and 3 deletions
|
|
@ -1,13 +1,13 @@
|
|||
from django.core.management.base import NoArgsCommand
|
||||
from django.core.management.base import BaseCommand
|
||||
from six import moves
|
||||
|
||||
from auditlog.models import LogEntry
|
||||
|
||||
|
||||
class Command(NoArgsCommand):
|
||||
class Command(BaseCommand):
|
||||
help = 'Deletes all log entries from the database.'
|
||||
|
||||
def handle_noargs(self, **options):
|
||||
def handle(self, *args, **options):
|
||||
answer = None
|
||||
|
||||
while answer not in ['', 'y', 'n']:
|
||||
|
|
|
|||
Loading…
Reference in a new issue