Deprecated ALLOWED_INCLUDE_ROOTS.

This commit is contained in:
Aymeric Augustin 2014-12-14 22:59:51 +01:00
parent 84d7c93feb
commit 3dc01aaaaf
6 changed files with 26 additions and 18 deletions

View file

@ -996,8 +996,8 @@ file are evaluated as template code, within the current context::
{% ssi '/home/html/ljworld.com/includes/right_generic.html' parsed %}
Note that if you use ``{% ssi %}``, you'll need to define
:setting:`ALLOWED_INCLUDE_ROOTS` in your Django settings, as a security
measure.
``'allowed_include_roots'`` in the :setting:`OPTIONS <TEMPLATES-OPTIONS>` of
your template engine, as a security measure.
.. note::
With the :ttag:`ssi` tag and the ``parsed`` parameter