Changes between Initial Version and Version 1 of Ticket #34499, comment 2


Ignore:
Timestamp:
Apr 15, 2023, 2:36:08 PM (20 months ago)
Author:
lucaremdev

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34499, comment 2

    initial v1  
    1 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.
    2 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.
    3 
    4 So, you could either show full HTML documents with body elements from the beginning in the tutorial,
    5 or
    6 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".
    7 
    8 These are just suggestions of course! Do as it seems better for the whole community!
    9 And thank you anyway =)
Back to Top