Opened 5 years ago

Closed 5 years ago

#20533 closed Uncategorized (duplicate)

Tutorial 3 content recommendation for 404 handler section

Reported by: aric.beaver@… Owned by: nobody
Component: Documentation Version: 1.5
Severity: Normal Keywords: ALLOWED_HOSTS, DEBUG, 404, 500
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


Document in reference:

Permalink in reference

A description of the ALLOWED_HOSTS variable in "" would be applicable to this section because the ALLOWED_HOSTS variable is required if the DEBUG variable is False; as described in a comment above the ALLOWED_HOSTS line. Not mentioning this necessity at this step in the tutorial can cause confusion when creating a template for "404.html". The ALLOWED_HOSTS variable will cause a 500 error when incorrect when a novice user is expecting a 404 error. The ALLOWED_HOSTS variable should be set to 'localhost' for the tutorial.

Also see:

Aric Beaver

Change History (1)

comment:1 Changed 5 years ago by Tim Graham

Resolution: duplicate
Status: newclosed

Thanks, this issue has already been raised in #19875, but I will consider your suggestions in developing the patch.

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