Commit 2dbfa66f authored by Tim Graham's avatar Tim Graham
Browse files

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

Thanks colinnkeenan for the report.
parent 550ddc66
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -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
project is a good convention to follow.

When you’ve 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
tell Django where our templates live::