summaryrefslogtreecommitdiff
path: root/tests/user_commands/management/commands/reverse_url.py
blob: b1fb5ad8ec42c3776dc55f0cb4acb9c792ea16c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
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")