On Thu, Feb 02, 2012 at 09:36:48PM -0800, Jonathan Vanasco wrote:
> I just noticed this..
> 
> under pylons, mako templates are cached into app/data/templates/$name
> $.mako.py
> 
> under pyramid, i don't see where they're cached - if at all.

In memory, AFAIU (if they're cached at all), by default.  You can set
mako.module_directory = $(here)s/data/templates in your .ini to get the
old Pylons behaviour.

http://readthedocs.org/docs/pyramid/en/1.3-branch/narr/environment.html#mako-module-directory

HTH,
Marius Gedminas
-- 
Where are you most likely to need carpet tacks and a hammer, for example?
Precisely. So leaving them on the stairs is simple ergonomics.
        -- http://www.mil-millington.com/

Attachment: signature.asc
Description: Digital signature

Reply via email to