second commit

This commit is contained in:
denis
2026-03-10 13:10:32 +01:00
parent b5cc0106c6
commit 3aac7ff9b9
101 changed files with 22046 additions and 1 deletions
@@ -0,0 +1,20 @@
#
# encoding: utf-8
from django.core.management import BaseCommand
from django.urls import get_resolver
class Command(BaseCommand):
def handle(self, *args, **kwargs):
def show_urls(urllist, depth=0):
for entry in urllist:
print(entry.pattern)
if hasattr(entry, 'url_patterns'):
show_urls(entry.url_patterns, depth + 1)
show_urls(get_resolver().url_patterns)