Fixed #19289 - Removed an out of place sentence in tutorial 2.

Thanks colinnkeenan for the report.
This commit is contained in:
Tim Graham 2012-11-14 05:46:30 -05:00
parent 550ddc66b4
commit 2dbfa66f4d
1 changed files with 0 additions and 5 deletions

View File

@ -445,11 +445,6 @@ 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.
When youve done that, create a directory polls in your template directory.
Within that, create a file called index.html. Note that our
``loader.get_template('polls/index.html')`` code from above maps to
[template_directory]/polls/index.html” on the filesystem.
By default, :setting:`TEMPLATE_DIRS` is empty. So, let's add a line to it, to By default, :setting:`TEMPLATE_DIRS` is empty. So, let's add a line to it, to
tell Django where our templates live:: tell Django where our templates live::