Opened 2 years ago

Closed 2 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 Changed 2 years ago by aaugustin

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

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 Changed 2 years ago by timo

  • Resolution set to wontfix
  • Status changed from new to closed

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