Code

Opened 3 years ago

Closed 3 years ago

#15514 closed (wontfix)

Django 1.2 tutorial03 error template clarification

Reported by: cubex Owned by: nobody
Component: Documentation Version: 1.2
Severity: Keywords: 404 template error debug
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

On page 3 of the Django tutorial, it's worth confirming that custom 404.html and 500.html templates need to be in the in the top level of the template tree, i.e. loose in the templates folder (as stated under Writing Views).

Attachments (0)

Change History (1)

comment:1 Changed 3 years ago by russellm

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to wontfix
  • Status changed from new to closed

This text is already there: "If you don't define your own 404 view -- and simply use the default, which is recommended -- you still have one obligation: To create a 404.html template in the root of your template directory"

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.