mirror of
https://github.com/fergalmoran/dss.api.git
synced 2025-12-25 10:49:16 +00:00
Python 3 upgrade finished
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
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()
|
||||
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()
|
||||
|
||||
Reference in New Issue
Block a user