Kaydet (Commit) c6236936 authored tarafından Adrian Holovaty's avatar Adrian Holovaty

Updated settings.txt and templates_python.txt to clarify that TEMPLATE_DIRS…

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
üst 25aacbb9
...@@ -584,8 +584,10 @@ TEMPLATE_DIRS ...@@ -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
----------------------- -----------------------
......
...@@ -382,6 +382,8 @@ that contain full paths to your template directory(ies). Example:: ...@@ -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
~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~
......
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