api-sandbox/share/readmes/debug_toolbar.md
2025-04-22 18:06:11 +03:00

707 B

Problem with Django Debug Toolbar

If the Django Debug Toolbar runs on the admin but not on your apps, this might be the issue and solution:

The problem turned out to be that the <body> ... </body> tags were not rendered in the template. Adding them to my template fixed the issue.

It's interesting that the Django tutorial doesn't use a template with a complete HTML document, yet it specifically mentions following the installation directions for the Django Debug Toolbar, even though the app won't work with it as presented.

Anyway, many thanks to u/reallydarkcloud for the insightful response.

https://www.reddit.com/r/django/comments/15k68fa/djangodebugtoolbar_works_in_the_admin_but_not_in/