django1/tests/admin_scripts/management/commands/noargs_command.py

10 lines
261 B
Python

from django.core.management.base import BaseCommand
class Command(BaseCommand):
help = "Test No-args commands"
requires_system_checks = []
def handle(self, **options):
print('EXECUTE: noargs_command options=%s' % sorted(options.items()))