What is the equivalent of debug: Symfony router in Django?

0

I would like to know if for Django and / or Django Rest framework there is a command that returns all the routes that are in my application.

I'm looking for something similar to the one returned by the Symfony debug:router command, where the console shows me this:

  especialidad_front                                      GET      ANY      ANY    /especialidad/front                                                         
  especialidad                                            GET      ANY      ANY    /api/especialidad/                                                          
  especialidad_create                                     POST     ANY      ANY    /api/especialidad/                                                          
  especialidad_new                                        GET      ANY      ANY    /api/especialidad/new                                                       
  especialidad_show                                       GET      ANY      ANY    /api/especialidad/{id}                                                      
  especialidad_update                                     PUT      ANY      ANY    /api/especialidad/{id}                                                      
  especialidad_delete                                     DELETE   ANY      ANY    /api/especialidad/{id} 
    
asked by Ethan 14.11.2017 в 16:57
source

0 answers