About Lesson
The Django Debug Toolbar is a powerful tool that provides insights into SQL queries, cache hits/misses, template rendering times, and more.
Installing Django Debug Toolbar
- Install the package:
- Add it to your
INSTALLED_APPS
: - Add the middleware to your
MIDDLEWARE
: - Configure the internal IPs:
- Include the Debug Toolbar URLs in your
urls.py
:
When you run your server, the Debug Toolbar will appear as a sidebar on your web pages.