In environment.py line 33 should be commented like this:
# Create the Mako TemplateLookup, with the default auto-escaping
config['pylons.app_globals'].mako_lookup = TemplateLookup(
directories=paths['templates'], input_encoding='utf-8',
imports=['from webhelpers.html import escape'],
default_filters=['escape'], output_encoding='utf-8',
#module_directory=os.path.join(app_conf['cache_dir'],
'templates'),
)
Augusto
On Apr 15, 1:43 pm, Ian Bicking <[EMAIL PROTECTED]> wrote:
> Augusto Becciu wrote:
> > Thanks Ian, this works great!
>
> > Just two little issues:
>
> > 1) appengine-boot.py fails to copy development.ini.template, I had to
> > rename it to development.ini.
>
> This should be fixed in trunk.
>
> > 2) The Pylons appengine-monkey tutorial should metion somewhere that
> > in order to use
> > Mako (with Pylons 0.9.7 at least), TemplateLookup's "module_directory"
> > parameter should not
> > be set. Because appengine doesn't support filesystem write operations.
>
> I only tested with 0.9.6. Where exactly is that setting supposed to go?
> Also, corrections put into comments will work (though I don't seem to
> be getting proper notifications from google about them).
>
> --
> Ian Bicking : [EMAIL PROTECTED] :http://blog.ianbicking.org
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---