mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Deprecated ALLOWED_INCLUDE_ROOTS.
This commit is contained in:
parent
84d7c93feb
commit
3dc01aaaaf
6 changed files with 26 additions and 18 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue