Re: Nested blocks in base template.

2013-04-28 Thread Aymeric Augustin
On 27 avr. 2013, at 11:05, Jonathan Slenders wrote: > Is this documented? If so, then I need to fix it. Maybe I'm biaised :) but that's the result I would expect. What would you expect? -- Aymeric. -- You received this message because you are subscribed to the Google Groups "Django deve

Re: Nested blocks in base template.

2013-04-28 Thread Enrico B. da Luz
Seems reasonable to me, the tool should try it's best to preserve the behaviour as much as possible, wheter it's documented or not. -- You received this message because you are subscribed to the Google Groups "Django developers" group. To unsubscribe from this group and stop receiving emails fr

Re: Nested blocks in base template.

2013-04-27 Thread Alex Ogier
It looks like the only place I can find where {{ block.super }} is documented[1] doesn't include explicitly explain how the super block is executed, but it is certainly the reasonable thing to do: execute the super block in the current template's context as if it hadn't been overridden. Otherwise o

Nested blocks in base template.

2013-04-27 Thread Jonathan Slenders
Hi all, Somebody reported a bug for django-template-preprocessor. I'm wondering whether this is documented behaviour for the Django template language, or whether this is just something that happens to be this way because of the implementation. https://github.com/citylive/django-template-prepro