diff --git a/program/management/commands/remove_automation_id.py b/program/management/commands/remove_automation_id.py deleted file mode 100644 index 519e768150099a1bb958a0b8762293d55e749f08..0000000000000000000000000000000000000000 --- a/program/management/commands/remove_automation_id.py +++ /dev/null @@ -1,15 +0,0 @@ -from django.core.management.base import BaseCommand, CommandError -from program.models import Schedule - - -class Command(BaseCommand): - help = "removes the automation_id from the program slots" - args = "<automation_id>" - - def handle(self, *args, **options): - if len(args) == 1: - automation_id = args[0] - else: - raise CommandError("you must provide the automation_id") - - Schedule.objects.filter(automation_id=automation_id).update(automation_id=None)