[Django] #35461: Tutorial instructions for adding third-party app don't work

5 views
Skip to first unread message

Django

unread,
May 17, 2024, 1:06:23 AM5/17/24
to django-...@googlegroups.com
#35461: Tutorial instructions for adding third-party app don't work
-----------------------------------------+------------------------
Reporter: dawbert | Owner: nobody
Type: Uncategorized | Status: new
Component: Documentation | Version: 5.0
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-----------------------------------------+------------------------
Hey folks!

The instructions in step 8 of the tutorial recommend adding the django-
debug-toolbar as a way to understand third-party apps, etc, but it doesn't
work without additional changes to the mysite project.

https://docs.djangoproject.com/en/5.0/intro/tutorial08/#installing-django-
debug-toolbar

It finishes by saying, "Once installed, you should be able to see the DjDT
“handle” on the right side of the browser window when you refresh the
polls application."

However, the panel only shows if the view has a "</body>" tag, which none
of the views you write have.

Suggest either adding the body tag into the earlier pages, updating the
documentation to say you need to add them, or using a different addon as
an example.
--
Ticket URL: <https://code.djangoproject.com/ticket/35461>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Reply all
Reply to author
Forward
0 new messages