Skip to main content

HamlPy extension for Jinja2

Project description

Jinja2-HamlPy
=============

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',
]

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jinja2-hamlpy-0.1.tar.gz (3.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page