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',
]
=============
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
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 details)
File details
Details for the file jinja2-hamlpy-0.1.tar.gz
.
File metadata
- Download URL: jinja2-hamlpy-0.1.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48ff474ea0568abaf8056cd8f0ec0af7c90c8e03684220b5decdd0200c7ad0f4 |
|
MD5 | e366abef0acdc6f1b716061d39e26f8c |
|
BLAKE2b-256 | e14f346f454c2f36c354e01ee7264ec80f93e0f7276d83e87385b4dc56d9c22e |