mirror of
https://github.com/django/django.git
synced 2024-11-20 08:24:58 +00:00
7d81ee6efc
Thanks Tim Graham for the review.
11 lines
272 B
Python
11 lines
272 B
Python
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')
|