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
Post a Comment