Ticket #21881: django_templates_ssi_rendering_note.patch

File django_templates_ssi_rendering_note.patch, 727 bytes (added by alextreme, 10 years ago)
  • docs/ref/templates/builtins.txt

    diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt
    index 93ec2ad..c55a65e 100644
    a b Note that if you use ``{% ssi %}``, you'll need to define  
    966966:setting:`ALLOWED_INCLUDE_ROOTS` in your Django settings, as a security
    967967measure.
    968968
     969.. note::
     970    With the :ttag:`ssi` tag and the "parsed" parameter
     971    there is no shared state between files -- each include is a completely
     972    independent rendering process, so it isn't possible for example to define
     973    blocks or alter the context in the current page using the included file.
     974
    969975See also: :ttag:`{% include %}<include>`.
    970976
    971977.. templatetag:: templatetag
Back to Top