1
0
mirror of https://github.com/django/django.git synced 2025-01-17 22:02:54 +00:00

11 lines
272 B
Python
Raw Normal View History

from django.core.management.base import BaseCommand
from django.core.urlresolvers import reverse
class Command(BaseCommand):
"""
This command returns a URL from a reverse() call.
"""
def handle(self, *args, **options):
return reverse('some_url')