1
0
mirror of https://github.com/django/django.git synced 2025-06-05 03:29:12 +00:00

[1.5.x] Fixed #20051 -- Specified where to define TEMPLATE_DIRS.

This commit is contained in:
Matthew Wood 2013-03-18 15:48:47 -04:00 committed by Simon Charette
parent 9e920a4888
commit 5c78877016

View File

@ -445,8 +445,8 @@ live anywhere on your filesystem that Django can access. (Django runs as
whatever user your server runs.) However, keeping your templates within the whatever user your server runs.) However, keeping your templates within the
project is a good convention to follow. project is a good convention to follow.
By default, :setting:`TEMPLATE_DIRS` is empty. So, let's add a line to it, to Open your settings file (``mysite/settings.py``, remember) and add a
tell Django where our templates live:: :setting:`TEMPLATE_DIRS` setting::
TEMPLATE_DIRS = ( TEMPLATE_DIRS = (
'/path/to/mysite/templates', # Change this to your own directory. '/path/to/mysite/templates', # Change this to your own directory.