mirror of
				https://github.com/django/django.git
				synced 2025-10-26 23:26:08 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			260 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			260 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| from django.core.management.base import BaseCommand
 | |
| from django.urls import reverse
 | |
| 
 | |
| 
 | |
| class Command(BaseCommand):
 | |
|     """
 | |
|     This command returns a URL from a reverse() call.
 | |
|     """
 | |
| 
 | |
|     def handle(self, *args, **options):
 | |
|         return reverse("some_url")
 |