Home | History | Annotate | Download | only in webapp2_extras
      1 .. _api.webapp2_extras.mako:
      2 
      3 Mako
      4 ====
      5 .. module:: webapp2_extras.mako
      6 
      7 This module provides `Mako`_ template support for webapp2.
      8 
      9 To use it, you must add the ``mako`` package to your application
     10 directory (for App Engine) or install it in your virtual environment
     11 (for other servers).
     12 
     13 You can download ``mako`` from PyPi:
     14 
     15     http://pypi.python.org/pypi/Mako
     16 
     17 Learn more about Mako:
     18 
     19     http://www.makotemplates.org/
     20 
     21 .. autodata:: default_config
     22 
     23 .. autoclass:: Mako
     24    :members: __init__, render_template
     25 
     26 .. autofunction:: get_mako
     27 .. autofunction:: set_mako
     28 
     29 
     30 .. _Mako: http://www.makotemplates.org/
     31