The problem is that {{include}} {{extend}} and {{block}} are not
python keywords and they are reseolved before python is executed,
therefore they cannot be included in Python. This can be changed in
the future. You may want to open a ticket suggesting an improvement.
Yet It would not be easy.

On Oct 15, 10:40 am, Miroslav Gojic <miroslavgo...@gmail.com> wrote:
> Thanks
>
> I was play wit that that half day ...
>
> - - Miroslav Gojic - -
>
> On Sat, Oct 15, 2011 at 16:54, Massimo Di Pierro
>
>
>
>
>
>
>
> <massimo.dipie...@gmail.com> wrote:
> > Not possible.
>
> > On Oct 15, 6:05 am, miroslavgojic <miroslavgo...@gmail.com> wrote:
> >> {{=HTML(HEAD(),BODY(DIV(DIV('Header',_id='header'),DIV(include,_id='content
> >>  '),DIV('Footer',_id='footer'),_id='site')),doctype='html5',
> >> lang='sr')}}
>
> >> This was my idea to create template with HTML helpers
>
> >> On Oct 15, 11:42 am, miroslavgojic <miroslavgo...@gmail.com> wrote:
>
> >> > How to make {{include}} to work in DIV Helper
>
> >> > I have next situation
>
> >> > {{=DIV(DIV('some code',_id='code'),include,_id='content')}}

Reply via email to