mirror of
https://github.com/fergalmoran/dss.api.git
synced 2025-12-22 09:18:13 +00:00
11 lines
321 B
Python
11 lines
321 B
Python
from django.core.management.base import NoArgsCommand
|
|
from spa.models import Mix
|
|
|
|
|
|
class Command(NoArgsCommand):
|
|
def handle(self, *args, **options):
|
|
candidates = Mix.objects.filter(waveform_generated=False)
|
|
for mix in candidates:
|
|
print("Deleting: %s" % mix.title)
|
|
mix.delete()
|