Hmm, I can't reproduce the problem I described above, either with your code 
example or my own full code. Must be my own error.

Apologies for the time wasting!

On Monday, 25 May 2015 11:05:57 UTC+1, Stephen Butler wrote:
>
> On Sun, May 24, 2015 at 6:28 AM, anentropic <[email protected] 
> <javascript:>> wrote: 
> > Currently there is a problem (correct me if wrong) when you need to 
> override 
> > the content of an inner nested block. 
> > 
> > {% block parent %} 
> >   some stuff 
> >   {% block child %} 
> >      child stuff 
> >   {% endblock %} 
> >   some other stuff 
> > {% endblock %} 
> > 
> > if you are in a template which extends the one above and you want to 
> > override just the content of 'child' block you are stuck 
> > 
> > if you just do: 
> > 
> >   {% block child %} 
> >      new child stuff 
> >   {% endblock %} 
> > 
> > ...you get two of the 'child' block, because you haven't overridden the 
> > parent block, so there's another one from there. 
>
> That's not the behavior I see. Maybe you have some other error in your 
> code? 
>
> https://uofi.box.com/s/hlxb3qu575t7exx6r4q3aa3w47ya5362 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" 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].
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/f1b58ca2-396a-45e0-b00a-d9f3ba61583d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to