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

codeigniter - Fatal error: Call to undefined function lang() in CI Merchant using CardSave -

python - Received unregistered task using Celery with Django -

c# - Delving into the world of XML (Windows Phone) Error I dont understand (The ' ' character, hexadecimal value 0x20, cannot be included in a name.) -