summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2014-10-30 19:01:20 -0400
committerTim Graham <timograham@gmail.com>2014-10-30 19:04:10 -0400
commit19242c675f16ddde37b68af8bbe07de66e237e13 (patch)
tree09f2c7485a73f60c8e76525636afbee02b74c9d1 /docs
parente7cb4f2fbaff7996fb48e9c79aa0ec454abcf8f7 (diff)
Fixed #23735 -- Clarified that admindocs must be enabled to view template tag libraries in admin.
Thanks Aymeric Augustin for the report.
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/templates.txt9
1 files changed, 6 insertions, 3 deletions
diff --git a/docs/topics/templates.txt b/docs/topics/templates.txt
index 4a0e03f823..e245a7899e 100644
--- a/docs/topics/templates.txt
+++ b/docs/topics/templates.txt
@@ -662,15 +662,18 @@ Custom tag and filter libraries
===============================
Certain applications provide custom tag and filter libraries. To access them in
-a template, use the :ttag:`load` tag::
+a template, ensure the application is in :setting:`INSTALLED_APPS` (we'd add
+``'django.contrib.humanize'`` for this example), and then use the :ttag:`load`
+tag in a template::
{% load humanize %}
{{ 45000|intcomma }}
In the above, the :ttag:`load` tag loads the ``humanize`` tag library, which then
-makes the ``intcomma`` filter available for use. Consult the documentation
-area in your admin to find the list of custom libraries in your installation.
+makes the ``intcomma`` filter available for use. If you've enabled
+:mod:`django.contrib.admindocs`, you can consult the documentation area in your
+admin to find the list of custom libraries in your installation.
The :ttag:`load` tag can take multiple library names, separated by spaces.
Example::