Python Mako: Adding a Default Namespace -


how can make namespace of form:

<%namespace name="foo" module="foo.bar" /> 

available of templates in project default; rather each template having include above line @ start done automatically mako. have looked @ template , templatelookup class documentation there not seem easy way of doing this.

you can combine inheritance inheritable namespaces achieve want.


Comments

Popular posts from this blog

Line ending issue with Mercurial or Visual Studio -

java - Jtable duplicate Rows -

java - Run a .jar on Heroku -