mirror of
https://github.com/django/django.git
synced 2025-08-01 09:32:50 +00:00
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
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
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
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue