#12008: included templates' blocks do not get processed as if they were from the
context of the including page
-----------------------------------------+----------------------------------
          Reporter:  t...@timburrell.net  |         Owner:  nobody       
            Status:  new                 |     Milestone:               
         Component:  Documentation       |       Version:  SVN          
        Resolution:                      |      Keywords:  include block
             Stage:  Accepted            |     Has_patch:  0            
        Needs_docs:  0                   |   Needs_tests:  0            
Needs_better_patch:  0                   |  
-----------------------------------------+----------------------------------
Changes (by russellm):

  * component:  Template system => Documentation
  * stage:  Design decision needed => Accepted

Comment:

 After discussing with ubernostrum on IRC, we've come to the decision that
 the current implementation is correct, and that the documentation should
 be updated to better explain the situation.

 The formal explanation is that {% include %} doesn't participate in block
 structure - blocks are evaluated, then includes, then the remainder of
 template nodes.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/12008#comment:3>
Django <http://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 post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to