Fixed typo in docs/tutorial03.txt. Thanks, Dave Hodder
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1210 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
f7d2e9ea9f
commit
23c9e2aec9
|
@ -211,9 +211,9 @@ filesystem, whose contents Django can access. (Django runs as whatever user
|
||||||
your server runs.) Don't put them under your document root, though. You
|
your server runs.) Don't put them under your document root, though. You
|
||||||
probably shouldn't make them public, just for security's sake.
|
probably shouldn't make them public, just for security's sake.
|
||||||
|
|
||||||
Then edit ``TEMPLATE_DIRS`` in your ``main.py`` settings file to tell Django
|
Then edit ``TEMPLATE_DIRS`` in your settings file (``settings.py``) to tell
|
||||||
where it can find templates -- just as you did in the "Customize the admin look
|
Django where it can find templates -- just as you did in the "Customize the
|
||||||
and feel" section of Tutorial 2.
|
admin look and feel" section of Tutorial 2.
|
||||||
|
|
||||||
When you've done that, create a directory ``polls`` in your template directory.
|
When you've done that, create a directory ``polls`` in your template directory.
|
||||||
Within that, create a file called ``index.html``. Django requires that
|
Within that, create a file called ``index.html``. Django requires that
|
||||||
|
|
Loading…
Reference in New Issue