Merge branch 'stable' into develop

This commit is contained in:
Georg Krause 2023-06-28 13:05:47 +02:00
commit 232ca0f050
30 changed files with 623 additions and 513 deletions

View file

@ -22,7 +22,7 @@ class Command(BaseCommand):
@transaction.atomic
def handle(self, *args, **options):
skipped = models.Upload.objects.filter(import_status="skipped")
count = len(skipped)
count = skipped.count()
if options["force"]:
skipped.delete()
print(f"Deleted {count} entries from the database.")