Unobtrusive Template Adapter
Project description
The idea is simple.
When you have a template wich is of known type you render it correctly.
Currently Jinja2, Mako and HamlPy are recognized by extensions respectively:
- .jinja2.html
- .mako.html
- .hamlpy
That said, if you have few apps using different templates in one project or want to use specific templates in part of project, it can be achieved easily.
To use this simply install required templates libraries and add 'uta' to INSTALLED_APPS.
When you have a template wich is of known type you render it correctly.
Currently Jinja2, Mako and HamlPy are recognized by extensions respectively:
- .jinja2.html
- .mako.html
- .hamlpy
That said, if you have few apps using different templates in one project or want to use specific templates in part of project, it can be achieved easily.
To use this simply install required templates libraries and add 'uta' to INSTALLED_APPS.
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
django-uta-0.0.2.tar.gz
(2.4 kB
view hashes)