> Hi.
> In config/middleware.py set something like this:
>
> config.init_app(global_conf, app_conf, package='your_project_name')
> makopts = {}
> config.add_template_engine('mako', 'your_project_name.templates',
> makopts)
>
> It works for me.
> Regards.
> Ɓukasz Biedrycki
>   
I tried it and I get error on <%inherit file="base.html"/> saying there 
must be <%inherit file="base.html"/%>.
After that error reported bad name definition "header()" in <%def 
name="header()">.

With simple
config.init_app(global_conf, app_conf, package='pyoner', 
template_engine='mako')
in middleware.py I have never got those errors and everything works just 
fine, except for the topic;-).

-- 
Best regards,
Antipin Aleksei


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to