updated readmes with debug_toolbar.md

This commit is contained in:
ronny abraham 2024-08-25 20:44:48 +03:00
parent b02085e5f0
commit 1820640e82

View file

@ -0,0 +1,13 @@
# 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/