A Django Debug Toolbar panel is a configurable mini-report that displays one category of information about a request or view execution. Panels appear in the toolbar overlay and open to reveal detailed diagnostics. section 13.1
Panels answer different debugging questions:
- The Time panel shows page-load timing, while the SQL panel reports database queries and their timing. section 13.1
- Disable individual panels with their check marks when collecting their information affects performance, or add third-party panels when needed. section 13.1
Inspecting a musician listing
After configuring the toolbar for local development and visiting the musician-listing page, open the SQL panel. A paginated musicians view can show two queries: one counts all musicians, and another retrieves the limited page of results. The Time and SQL panels therefore help investigate a slow page, especially when ORM query complexity is not obvious. section 13.1
