Debian Codegraph @

tests/user_commands/management/commands/reverse_url.py

raw
1 from django.core.management.base import BaseCommand
2 from django.urls import reverse
3
4
5 class Command(BaseCommand):
6 """
7 This command returns a URL from a reverse() call.
8 """
9
10 def handle(self, *args, **options):
11 return reverse("some_url")