Fix typo in prune_skipped_uploads command
This commit is contained in:
parent
8b0b2063ef
commit
4e6f57e3da
|
@ -22,7 +22,7 @@ class Command(BaseCommand):
|
||||||
|
|
||||||
@transaction.atomic
|
@transaction.atomic
|
||||||
def handle(self, *args, **options):
|
def handle(self, *args, **options):
|
||||||
skipped = models.Uploads.objects.filter(import_status="skipped")
|
skipped = models.Upload.objects.filter(import_status="skipped")
|
||||||
count = len(skipped)
|
count = len(skipped)
|
||||||
if options["force"]:
|
if options["force"]:
|
||||||
skipped.delete()
|
skipped.delete()
|
||||||
|
|
Loading…
Reference in New Issue