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