pyramid_mustache
Project description
pyramid_mustache
================
Extensions for pyramid to use mustache as the rendering engine
In your main of __init__.py:
config.add_renderer(
name='.html'
, factory='pyramid_mustache.MustacheRendererFactory'
)
In your setup.py's message_extractors:
('templates/**.mustache', 'pyramid_mustache.extract_mustache', None),
================
Extensions for pyramid to use mustache as the rendering engine
In your main of __init__.py:
config.add_renderer(
name='.html'
, factory='pyramid_mustache.MustacheRendererFactory'
)
In your setup.py's message_extractors:
('templates/**.mustache', 'pyramid_mustache.extract_mustache', None),
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pyramid_mustache-0.3.1.tar.gz
.
File metadata
- Download URL: pyramid_mustache-0.3.1.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c013ce6574211735f4d6333c4e08dec2aacbcf864d361dd271203606f8cbd34 |
|
MD5 | f69e0df340d074104efc9b123ddc4797 |
|
BLAKE2b-256 | 8bb3bd5e923ba40b7e73ddb0e49dd9ac68b19a23e8be1c6d838b05dd062a013c |