I find this to be an interesting idea, to use jinja2 as a sandbox. Why is it that it makes it impossible to compile the web2py app? Is it impossible to do that because of external modules?
Den lördag 9 juni 2012 kl. 08:35:04 UTC+2 skrev kirpit: > > Actually not, if you don't want your designers to run pure python and > sandbox their templates. > > On Saturday, June 9, 2012 2:02:51 PM UTC+10, pbreit wrote: >> >> Using Jinja2 in Web2py seems like a very bad idea unless 1) you have lots >> of content already in Jinja2 or 2) you are doing it purely as an exercise. >> >> >> On Friday, June 8, 2012 8:18:59 PM UTC-7, Massimo Di Pierro wrote: >>> >>> :-) >>> >>> On Friday, 8 June 2012 13:04:43 UTC-5, kirpit wrote: >>>> >>>> Since this discussion comes as the first result of "web2py jinja2" >>>> searches, there you go a simple integration: >>>> >>>> https://github.com/kirpit/web2jinja >>>> >>>> Cheers, >>>> kirpit >>>> >>>> >>>> On Wednesday, January 27, 2010 1:24:53 PM UTC+11, Alexandre wrote: >>>>> >>>>> Hi, >>>>> >>>>> I want to replace web2py's template engine with Jinja 2 >>>>> <http://jinja.pocoo.org/2/>, anyone has some experience doing >>>>> something similar? I'm trying to assign response._caller with a custom >>>>> function, but I'm not having much success, is that the right way? >>>>> >>>>> Thanks, >>>>> Alexandre Rosenfeld >>>>> >>>>> Eng Comp 06 - USP São Carlos >>>>> FoG - http://fog.icmc.usp.br >>>>> IM Team - AIESEC >>>>> >>>> >>>> On Wednesday, January 27, 2010 1:24:53 PM UTC+11, Alexandre wrote: >>>>> >>>>> Hi, >>>>> >>>>> I want to replace web2py's template engine with Jinja 2 >>>>> <http://jinja.pocoo.org/2/>, anyone has some experience doing >>>>> something similar? I'm trying to assign response._caller with a custom >>>>> function, but I'm not having much success, is that the right way? >>>>> >>>>> Thanks, >>>>> Alexandre Rosenfeld >>>>> >>>>> Eng Comp 06 - USP São Carlos >>>>> FoG - http://fog.icmc.usp.br >>>>> IM Team - AIESEC >>>>> >>>> -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

