summaryrefslogtreecommitdiff
path: root/docs/topics
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2014-12-17 22:10:57 +0100
committerAymeric Augustin <aymeric.augustin@m4x.org>2014-12-28 17:02:30 +0100
commitcf0fd65ed42d5d4f0585da413db4b1cf7c6b0d1a (patch)
tree3f4f652525adf16178018e4ce0c7eddeb0f61360 /docs/topics
parentd3a982556d655adcf4ba331d2def685d8249170f (diff)
Deprecated TEMPLATE_LOADERS.
Diffstat (limited to 'docs/topics')
-rw-r--r--docs/topics/class-based-views/generic-display.txt7
-rw-r--r--docs/topics/testing/tools.txt3
2 files changed, 4 insertions, 6 deletions
diff --git a/docs/topics/class-based-views/generic-display.txt b/docs/topics/class-based-views/generic-display.txt
index ee2d583dc7..f3d922ab3a 100644
--- a/docs/topics/class-based-views/generic-display.txt
+++ b/docs/topics/class-based-views/generic-display.txt
@@ -136,10 +136,9 @@ bit is just the lowercased version of the model's name.
.. note::
- Thus, when (for example) the
- :class:`django.template.loaders.app_directories.Loader` template loader is
- enabled in :setting:`TEMPLATE_LOADERS`, a template location could be:
- /path/to/project/books/templates/books/publisher_list.html
+ Thus, when (for example) the ``APP_DIRS`` option of a ``DjangoTemplates``
+ backend is set to True in :setting:`TEMPLATES`, a template location could
+ be: /path/to/project/books/templates/books/publisher_list.html
This template will be rendered against a context containing a variable called
``object_list`` that contains all the publisher objects. A very simple template
diff --git a/docs/topics/testing/tools.txt b/docs/topics/testing/tools.txt
index d1e06704f2..b986ca2481 100644
--- a/docs/topics/testing/tools.txt
+++ b/docs/topics/testing/tools.txt
@@ -1303,8 +1303,7 @@ Django itself uses this signal to reset various data:
Overridden settings Data reset
================================ ========================
USE_TZ, TIME_ZONE Databases timezone
-TEMPLATE_CONTEXT_PROCESSORS Context processors cache
-TEMPLATE_LOADERS Template loaders cache
+TEMPLATES Template engines
SERIALIZATION_MODULES Serializers cache
LOCALE_PATHS, LANGUAGE_CODE Default translation and loaded translations
MEDIA_ROOT, DEFAULT_FILE_STORAGE Default file storage