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.

Files for jinja2-hamlpy, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size jinja2-hamlpy-0.1.tar.gz (3.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page