summaryrefslogtreecommitdiff
path: root/tests/regressiontests/admin_scripts/management/commands/noargs_command.py
blob: 683eb7a62ce3049c8d280a9f9c163515938f1648 (plain)
1
2
3
4
5
6
7
8
9
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())