[Grok-dev] Plugging new template language

Santiago Videla santiago.videla at gmail.com
Thu Nov 27 13:32:55 EST 2008


>
> Sure, you can save the filename and it's file modification time as
> attributes in setFromFilename, and then for each render see if the
> file modification time has changed, and in that case reload.
>
> ZPT does this automatically in debug mode, I guess Jinja2 does not.
>

Great, it's working

but I couldn't find a way to see if zope it's running in debug mode
(./bin/zopectl fg) or not (./bin/zope start)

I was checking the pagetemplatefile.py in zope.pagetemplate, and it use a
global __debug__ variable. I tried to use it, but it's always True.

any idea??

cheers


>
>
> --
> Lennart Regebro: Zope and Plone consulting.
> http://www.colliberty.com/
> +33 661 58 14 64
>



-- 
Santiago Videla
www.revolucionesweb.com.ar
http://www.linkedin.com/in/svidela

Sigue la mata dando de que hablar siempre abajo y a la izquierda donde el
pensamiento que se hace corazón resplandece con la palabra sencilla y
humilde que l at s tod at s somos.



-- 
Santiago Videla
www.revolucionesweb.com.ar
http://www.linkedin.com/in/svidela

Sigue la mata dando de que hablar siempre abajo y a la izquierda donde el
pensamiento que se hace corazón resplandece con la palabra sencilla y
humilde que l at s tod at s somos.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/grok-dev/attachments/20081127/6d63dc97/attachment.html 


More information about the Grok-dev mailing list