[web2py] Re: super in templates

2011-06-01 Thread teemu
OK! Thank you for explanation. I just have to live with that and modify my apps to do those things differently. Teemu

[web2py] Re: super in templates

2011-05-31 Thread teemu
Hi I tried to figure out this problem more carefully and I found the reason why my app didn't work anymore: If the parent block contains {{include 'some_file'}} and view tries to extend it by calling {{super}}, whole parent block will be ignored!!! I don't see any error messages etc. This

Re: [web2py] Re: super in templates

2011-05-31 Thread Thadeus Burgess
Ah right, you can't have includes inside of blocks ! This is not a bug, just a side-effect of how includes are implemented vs blocks. I know understand the reasoning behind the str(t.content) patch, which was a workaround to getting includes to work inside of blocks, but not the proper solution.