Home > Software engineering >  How to print all the Routes used in Django?
How to print all the Routes used in Django?

Time:03-07

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?

CodePudding user response:

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

python manage.py show_urls
  • Related