mirror of
				https://github.com/django/django.git
				synced 2025-10-31 01:25:32 +00:00 
			
		
		
		
	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())
 |