#34499: Cannot create a new ticket
-------------------------------+--------------------------------------
     Reporter:  lucaremdev     |                    Owner:  nobody
         Type:  Uncategorized  |                   Status:  new
    Component:  Uncategorized  |                  Version:  4.2
     Severity:  Normal         |               Resolution:
     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 lucaremdev):

 If you are a newbie like me and follow exactly the django tutorial, when
 you get to [https://docs.djangoproject.com/en/4.2/intro/tutorial08/ part
 8], then you don't understand why Django debug toolbar shows up in admin
 site but not in public site.
 As mentioned on django discord
 
[https://discord.com/channels/856567261900832808/856567261900832811/1096783278154985572
 here], the solution consists in making each template a full HTML document
 with a body element for the debug toolbar to show up in the public site as
 well.

 So, you could either show full HTML documents with body elements from the
 beginning in the tutorial,
 or
 in [https://docs.djangoproject.com/en/4.2/intro/tutorial08/#installing-
 django-debug-toolbar this part of the tutorial], after this sentence "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.", you could
 add something like: "note that for the django debug toolbar to show up
 correctly, you should properly make each template a full HTML document, as
 we mentioned it to be best practice earlier".

 These are just suggestions of course! Do as it seems better for the whole
 community!
 And thank you anyway =)

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34499#comment:2>
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/01070187866912f7-9e37eef4-f0f1-4d37-ba9a-a23da37e9a47-000000%40eu-central-1.amazonses.com.

Reply via email to