Opened 6 months ago

Last modified 5 months ago

#35461 closed Cleanup/optimization

Tutorial instructions for adding third-party app don't work — at Initial Version

Reported by: dawbert Owned by: nobody
Component: Documentation Version: 5.0
Severity: Normal Keywords:
Cc: Timothy Schilling, Mariusz Felisiak, Adam Johnson, Ryan Cheley Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

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.

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top