#24555: Wrong content in inclusion templatetags with variable parent template
-------------------------------------+-------------------------------------
     Reporter:  benjaminrigaud       |                    Owner:  Tim
                                     |  Graham <timograham@…>
         Type:  Bug                  |                   Status:  closed
    Component:  Template system      |                  Version:  1.8rc1
     Severity:  Release blocker      |               Resolution:  fixed
     Keywords:  templatetags         |             Triage Stage:  Ready for
  extends block cache                |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Tim Graham <timograham@…>):

 * status:  new => closed
 * owner:   => Tim Graham <timograham@…>
 * resolution:   => fixed


Comment:

 In [changeset:"0808ccce3808235c5b5a56e3f689cec0d4bc0ebf" 0808ccc]:
 {{{
 #!CommitTicketReference repository=""
 revision="0808ccce3808235c5b5a56e3f689cec0d4bc0ebf"
 Fixed #23441, #24555 -- Improved the behavior of InclusionNode.

 This change:

 * Makes the InclusionNode cache-safe by removing render-time side effects
   to its nodelist.
 * Ensures the render_context stack is properly scoped and reset by
 updating
   the render call to use Template.render rather than Nodelist.render.
 }}}

--
Ticket URL: <https://code.djangoproject.com/ticket/24555#comment:9>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/072.2d05e2333b56128ac8bcc7096969be5c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to