mirror of
https://github.com/django/django.git
synced 2024-12-27 03:25:58 +00:00
32b8c3e1c0
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7914 bcc190cf-cafb-0310-a4f2-bffc1f526a37
15 lines
391 B
Python
15 lines
391 B
Python
from django.core.management.base import NoArgsCommand
|
|
# Python 2.3 doesn't have sorted()
|
|
try:
|
|
sorted
|
|
except NameError:
|
|
from django.utils.itercompat import sorted
|
|
|
|
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())
|