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

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -