#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
-------------------------------------+-------------------------------------

Comment (by prestontimmons):

 I see. This behavior change isn't due to caching. Instead it's due to the
 change from `self.nodelist.render()` to `template.render()`. This causes
 the `template_rendered` signal to be sent for inclusion tags, whereas it
 wasn't before. The listeners on this signal update `response.context`,
 `response.templates`, etc.

--
Ticket URL: <https://code.djangoproject.com/ticket/24555#comment:12>
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/072.3974089fb4ca1788c706b83d2090f011%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to