Browse Source

Documented jinja2 install requirement.

Tim Graham 10 years ago
parent
commit
56286542db
2 changed files with 11 additions and 6 deletions
  1. 5 6
      docs/releases/1.8.txt
  2. 6 0
      docs/topics/templates.txt

+ 5 - 6
docs/releases/1.8.txt

@@ -49,12 +49,11 @@ Multiple template engines
 ~~~~~~~~~~~~~~~~~~~~~~~~~
 
 Django 1.8 defines a stable API for integrating template backends. It includes
-built-in support for the Django template language and for Jinja2_. It supports
-rendering templates with multiple engines within the same project. Learn more
-about the new features in the :doc:`topic guide </topics/templates>` and check
-the :doc:`upgrade instructions </ref/templates/upgrading>` for details.
-
-.. _Jinja2: http://jinja.pocoo.org/
+built-in support for the Django template language and for
+:class:`~django.template.backends.jinja2.Jinja2`. It supports rendering
+templates with multiple engines within the same project. Learn more about the
+new features in the :doc:`topic guide </topics/templates>` and check the
+:doc:`upgrade instructions </ref/templates/upgrading>` for details.
 
 Security enhancements
 ~~~~~~~~~~~~~~~~~~~~~

+ 6 - 0
docs/topics/templates.txt

@@ -384,6 +384,12 @@ applications. This generic name was kept for backwards-compatibility.
 
 .. class:: Jinja2
 
+Requires Jinja2_ to be installed:
+
+.. code-block:: console
+
+    $ pip install Jinja2
+
 Set :setting:`BACKEND <TEMPLATES-BACKEND>` to
 ``'django.template.backends.jinja2.Jinja2'`` to configure a Jinja2_ engine.