Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 5c788770167bc236fb1e16ac6d1414db26fee26c 1 parent 9e920a4
Matthew Wood woodm1979 authored charettes committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/intro/tutorial02.txt
4 docs/intro/tutorial02.txt
View
@@ -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
project is a good convention to follow.
-By default, :setting:`TEMPLATE_DIRS` is empty. So, let's add a line to it, to
-tell Django where our templates live::
+Open your settings file (``mysite/settings.py``, remember) and add a
+:setting:`TEMPLATE_DIRS` setting::
TEMPLATE_DIRS = (
'/path/to/mysite/templates', # Change this to your own directory.
Please sign in to comment.
Something went wrong with that request. Please try again.