#34499: In tutorial part08, Django debug toolbar shows up in admin site but not
in
public site
-------------------------------------+-------------------------------------
Reporter: lucaremdev | Owner: nobody
Type: | Status: closed
Cleanup/optimization |
Component: Documentation | Version: 4.2
Severity: Normal | Resolution: wontfix
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by rytilahti):
First of all, thanks for the great tutorial! I just finished going it
through in a one sitting and was enough confused about this problem to
start looking into getting it fixed.
For a simple solution, maybe the wording should be changed to point the
reader to test it on the admin page (i.e., "when you refresh the polls
application" -> "when you visit the admin page")?
While not a great solution as it leaves open the question _why_ it isn't
working with the newly created app, it might still better than to confuse
readers that it _should_ be working.
A much nicer but more extensive change would be to introduce how to create
a base template (and describe extends, like in
https://docs.djangoproject.com/en/4.2/ref/templates/language/#templates)
in tutorial03.
This would be much more invasive as many other parts (e.g., css static
hosting in tutorial06) would need to be adapted, but maybe it's worth the
effort considering how common practice it is to have something like
`base_generic.html`?
What do you think, would one of those changes be acceptable for inclusion?
--
Ticket URL: <https://code.djangoproject.com/ticket/34499#comment:11>
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107018ac49fb873-b6551cc2-0f3f-4d6a-8569-4e21ff6159cc-000000%40eu-central-1.amazonses.com.