Fixed #1870 -- Clarified (hopefully) the TEMPLATE_DIRS section of docs/templates_python.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3061 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
5f2b40d4c9
commit
c18dc3d759
|
@ -368,6 +368,11 @@ Generally, you'll store templates in files on your filesystem rather than using
|
||||||
the low-level ``Template`` API yourself. Save templates in a directory
|
the low-level ``Template`` API yourself. Save templates in a directory
|
||||||
specified as a **template directory**.
|
specified as a **template directory**.
|
||||||
|
|
||||||
|
Django searches for template directories in a number of places, depending on
|
||||||
|
your template-loader settings (see "Loader types" below), but the most basic
|
||||||
|
way of specifying template directories is by using the ``TEMPLATE_DIRS``
|
||||||
|
setting.
|
||||||
|
|
||||||
The TEMPLATE_DIRS setting
|
The TEMPLATE_DIRS setting
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue