Opened 8 years ago

Closed 8 years ago

#21091 closed Uncategorized (invalid)

Specify where TEMPLATE_DIRS should be added in

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


If the code


'/path/to/mysite/templates', # Change this to your own directory.


is added before INSTALLED_APPS it does not work. This should be pointed out.

Judging by the upvotes at the below link it is a fairly common oversight.

Change History (1)

comment:1 Changed 8 years ago by Aymeric Augustin

Resolution: invalid
Status: newclosed

I'm sorry, but I think you're confused. The order in which settings are declared doesn't matter.

The StackOverflow question you link to doesn't discuss the order of TEMPLATE_DIRS and INSTALLED_APPS.

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