The Django Debug Toolbar is a configurable set of panels that display various debug information when developing web applications with the web framework Django. With Django Debug Toolbar you can measure query performance, discover N+1 issues, inspect CPU time and much more.
Django Debug Toolbar Panels
The Django Debug Toolbar comes with a large set of tools that allow you to measure every aspect of your application, These tools are separated into panels that can be activated and deactivated at will from your settings.py file.
DEBUG_TOOLBAR_PANELS = [
'debug_toolbar.panels.history.HistoryPanel',
'debug_toolbar.panels.versions.VersionsPanel',
'debug_toolbar.panels.timer.TimerPanel',
'debug_toolbar.panels.settings.SettingsPanel',
'debug_toolbar.panels.headers.HeadersPanel',
'debug_toolbar.panels.request.RequestPanel',
'debug_toolbar.panels.sql.SQLPanel',
'debug_toolbar.panels.staticfiles.StaticFilesPanel',
'debug_toolbar.panels.templates.TemplatesPanel',
'debug_toolbar.panels.cache.CachePanel',
'debug_toolbar.panels.signals.SignalsPanel',
'debug_toolbar.panels.logging.LoggingPanel',
'debug_toolbar.panels.redirects.RedirectsPanel',
'debug_toolbar.panels.profiling.ProfilingPanel',
]
New Django Debug Toolbar Tutorials
View all-
How to Print Queries in Django Views
If you are building a web application with Django you are well aware that the database is an integral part of your application. The need to analyze queries and to then query your data in the most optimal way is at the for front of your development process. Django provides a handful of
0