2

I want to display all the Routes in an app built with Django, something like what Laravel does with the command:

php artisan route:list

Is there a way to get all the Routes?

C132
  • 103
  • 1
  • 6
  • if you are comfortable with the third-party app then check https://stackoverflow.com/questions/1275486/django-how-can-i-see-a-list-of-urlpatterns or https://stackoverflow.com/questions/1828187/determine-complete-django-url-configuration – rs_punia Mar 05 '22 at 21:11

1 Answers1

5

django-extensions has command show_urls, sou after instalation you can do:

python manage.py show_urls
ondrados
  • 272
  • 3
  • 9