summaryrefslogtreecommitdiff
path: root/tests/admin_scripts/management/commands/noargs_command.py
blob: 9652099f9bace1f1a921d516cb7b984b8310c106 (plain)
1
2
3
4
5
6
7
8
9
10
from django.core.management.base import NoArgsCommand


class Command(NoArgsCommand):
    help = "Test No-args commands"
    requires_model_validation = False


    def handle_noargs(self, **options):
        print('EXECUTE:NoArgsCommand options=%s' % sorted(options.items()))