Code

Opened 6 years ago

Closed 3 years ago

#6826 closed New feature (wontfix)

[Feature] Add setting for error pages path

Reported by: dcramer Owned by: nobody
Component: Uncategorized Version: master
Severity: Normal Keywords: error templates
Cc: Triage Stage: Design decision needed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

A useful addition to Django would be the ability to specify the template directory where error pages are held.

Something like:
ERROR_PAGES_PATH = 'errors'

Or possible even more advanced to specify full template paths like you can with the engine, but I'm not sure that's needed.

Attachments (0)

Change History (4)

comment:1 Changed 6 years ago by Simon Greenhill

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Design decision needed

comment:2 Changed 3 years ago by julien

  • Type set to New feature

comment:3 Changed 3 years ago by julien

  • Severity set to Normal

comment:4 Changed 3 years ago by Alex

  • Easy pickings unset
  • Resolution set to wontfix
  • Status changed from new to closed
  • UI/UX unset

Discussion with Carl: The root of the templates is a pretty sane default, this doesn't really warrant the introduction of a new setting. The error handlers are pretty easy to override if you want it to live somewhere else you can.

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.