#35461: Tutorial instructions for adding django-debug-toolbar are misleading.
-------------------------------------+-------------------------------------
     Reporter:  dawbert              |                    Owner:  Rosana
         Type:                       |  Rufer
  Cleanup/optimization               |                   Status:  assigned
    Component:  Documentation        |                  Version:  5.0
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Rosana Rufer):

 * has_patch:  0 => 1


Old 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.

New 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.

 Patch: https://github.com/django/django/pull/18285

--
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35461#comment:9>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/010701903215210c-580a8370-2c5f-49e1-bc03-da283189b202-000000%40eu-central-1.amazonses.com.

Reply via email to