skip to navigation
skip to content

Not Logged In

jinja2-hamlpy 0.1

HamlPy extension for Jinja2

HamlPy extension for Jinja2.

Basic Usage

To use this extension you just need to add it to you jinja environment and use ".haml" as extension for your templates.

from jinja2 import Environment
from jinja2_hamlpy import HamlPyExtension

env = Environment(extensions=[HamlPyExtension])

For Coffin Users:

Simply add this to your settings:

JINJA2_EXTENSIONS = [
    'jinja2_hamlpy.HamlPyExtension',
]
 
File Type Py Version Uploaded on Size
jinja2-hamlpy-0.1.tar.gz (md5) Source 2012-08-04 2KB
  • Downloads (All Versions):
  • 2 downloads in the last day
  • 16 downloads in the last week
  • 152 downloads in the last month