PageRenderTime 27ms CodeModel.GetById 22ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

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

https://code.google.com/p/mango-py/
Python | 9 lines | 6 code | 3 blank | 0 comment | 0 complexity | 6d8efc3709d0904cbccfbc62191907cc MD5 | raw file
1from django.core.management.base import NoArgsCommand
2
3class Command(NoArgsCommand):
4    help = "Test No-args commands"
5    requires_model_validation = False
6
7
8    def handle_noargs(self, **options):
9        print 'EXECUTE:NoArgsCommand options=%s' % sorted(options.items())