Kaydet (Commit) 2dbfa66f authored tarafından Tim Graham's avatar Tim Graham

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

Thanks colinnkeenan for the report.
üst 550ddc66
...@@ -445,11 +445,6 @@ live anywhere on your filesystem that Django can access. (Django runs as ...@@ -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 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 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::
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment