mirror of
				https://github.com/django/django.git
				synced 2025-10-25 22:56:12 +00:00 
			
		
		
		
	Backport of 5853c87a45 from master.
Conflicts:
	django/core/management/commands/sqlmigrate.py
	tests/user_commands/tests.py
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			215 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			215 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| from django.core.management.base import BaseCommand
 | |
| 
 | |
| 
 | |
| class Command(BaseCommand):
 | |
|     help = "Say hello."
 | |
|     args = ''
 | |
|     output_transaction = True
 | |
| 
 | |
|     def handle(self, *args, **options):
 | |
|         return 'Hello!'
 |