On Friday, July 8, 2011 12:14:48 PM UTC-4, Kernc wrote:
>
> I also understand your explanation, except one thing: if I have an
> {{include}} inside a {{block}} as a default value (both these statements are
> template, non-python statements), and that default is overridden, and since
> {{block}} somewhat introduces conditioning, the inner {{include}} statement
> need-not be expanded, so {{block some}}{{include article}}{{end}}, with some
> block overridden, shouldn't throw error on article variable not set. I
> think.
Yes, that's a good point -- I'm not sure exactly how blocks work on the back
end, but apparently it does read that include statement before replacing the
block content.
Anthony