Searched refs:mako (Results 1 – 9 of 9) sorted by relevance
5 from webapp2_extras import mako22 m = mako.Mako(app)31 mako.set_mako(mako.Mako(app), app=app)33 j = mako.get_mako(app=app)34 self.assertTrue(isinstance(j, mako.Mako))39 j = mako.get_mako(app=app)41 self.assertTrue(isinstance(j, mako.Mako))
15 from mako import lookup116 mako = app.registry.get(key)117 if not mako:118 mako = app.registry[key] = factory(app)120 return mako123 def set_mako(mako, key=_registry_key, app=None): argument136 app.registry[key] = mako
1 .. _api.webapp2_extras.mako:5 .. module:: webapp2_extras.mako9 To use it, you must add the ``mako`` package to your application13 You can download ``mako`` from PyPi:
3 This page moved to :ref:`api.webapp2_extras.mako`.
33 docs/api/extras.mako.rst50 docs/api/webapp2_extras/mako.rst133 webapp2_extras/mako.py
90 api/webapp2_extras/mako.rst138 api/extras.mako.rst
28 - jinja2 & mako
14 :ref:`api.webapp2_extras.mako` and :ref:`api.webapp2_extras.sessions`) use configuration
190 - Added webapp2_extras.mako.