[Grok-dev] megrok.chameleon and (custom) template namespaces
    Jan-Wijbrand Kolman 
    janwijbrand at gmail.com
       
    Mon Apr 18 06:06:42 EDT 2011
    
    
  
On 4/15/11 22:25 , Jan-Jaap Driessen wrote:
> Also, as far as I can see, megrok.chameleon currently does not
> configure auto-reloading of chameleon templates in development mode.
>
> JW, can we look into the best way to configure this before we make a
> new release of megrok.chameleon?
>
> How do you feel about the pylons/pyramid approach of configuring
> template reloading? ->
>
> http://docs.pylonsproject.org/projects/pyramid/1.0/narr/templates.html#reload-templates-section
I think I'd rather use the "devmode"-marker instead, not to have 
multiple ways for signaling development versus deployment. It is of 
course also possible to check both the devmode *and* the env variable. 
We could also consider logging the reload-state at startup.
regards, jw
    
    
More information about the Grok-dev
mailing list