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

10 lines
264 B
Python
Raw Normal View History

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