From eb9de1cdf5f88c3af2908191b78cec8462dc3889 Mon Sep 17 00:00:00 2001 From: Andy Lulham Date: Wed, 29 Sep 2021 00:51:57 +0100 Subject: [PATCH] Fix signature of management command handle --- locking/management/commands/delete_expired_locks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/locking/management/commands/delete_expired_locks.py b/locking/management/commands/delete_expired_locks.py index 2483152..d36ae6a 100644 --- a/locking/management/commands/delete_expired_locks.py +++ b/locking/management/commands/delete_expired_locks.py @@ -4,5 +4,5 @@ class Command(BaseCommand): - def handle(self): + def handle(self, *args, **options): Lock.objects.delete_expired()