mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Improved {% include %} implementation
Merged BaseIncludeNode, ConstantIncludeNode and Include node. This avoids raising TemplateDoesNotExist at parsing time, allows recursion when passing a literal template name, and should make TEMPLATE_DEBUG behavior consistant. Thanks loic84 for help with the tests. Fixed #3544, fixed #12064, fixed #16147
This commit is contained in:
committed by
Anssi Kääriäinen
parent
e973ee6a98
commit
e2f06226ea
@@ -263,6 +263,8 @@ Templates
|
||||
arguments will be looked up using
|
||||
:func:`~django.template.loader.get_template` as always.
|
||||
|
||||
* It is now possible to :ttag:`include` templates recursively.
|
||||
|
||||
Backwards incompatible changes in 1.7
|
||||
=====================================
|
||||
|
||||
|
||||
Reference in New Issue
Block a user