Opened 12 years ago

Closed 12 years ago

#19985 closed Uncategorized (wontfix)

Suggested improvement for example with customizing templates

Reported by: marvmolt@… Owned by: nobody
Component: Documentation Version: 1.5
Severity: Normal Keywords: TEMPLATE_DIRS
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

I suggest making it explicit that the TEMPLATE_DIRS should be set in settings.py, and also pointing out that there is already an empty definition of it in the default file. I added it to the top and spent half an hour crawling through lots of other peoples' posts looking for help because their template overrides didn't take effect.

Otherwise I am finding the documentation to be excellent so far, thanks!

Change History (2)

comment:1 by Aymeric Augustin, 12 years ago

If you put your templates in templates directories within your apps, you don't need to set TEMPLATE_DIRS.

There's a debate currently about whether using TEMPLATE_DIRS should be discouraged; some would like to put everything within apps.

comment:2 by Tim Graham, 12 years ago

Resolution: wontfix
Status: newclosed

TEMPLATE_DIRS no longer appears in the default project template as of 3f1c7b70537330435e2ec2fca9550f7b7fa4372e so this seems moot.

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