Updated settings.txt and templates_python.txt to clarify that TEMPLATE_DIRS requires Unix-style slashes.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@1808 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2005-12-31 01:46:04 +00:00
parent 25aacbb9f1
commit c62369361b
2 changed files with 6 additions and 2 deletions

View File

@ -584,8 +584,10 @@ TEMPLATE_DIRS
Default: ``()`` (Empty tuple) Default: ``()`` (Empty tuple)
List of locations of the template source files, in search order. See the List of locations of the template source files, in search order. Note that
`template documentation`_. these paths should use Unix-style forward slashes, even on Windows.
See the `template documentation`_.
TEMPLATE_FILE_EXTENSION TEMPLATE_FILE_EXTENSION
----------------------- -----------------------

View File

@ -382,6 +382,8 @@ that contain full paths to your template directory(ies). Example::
"/home/html/templates/default", "/home/html/templates/default",
) )
Note that these paths should use Unix-style forward slashes, even on Windows.
The Python API The Python API
~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~