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.
Release files for django-uta 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-uta-0.0.2.tar.gz | 2.4 kB | Details |
Release files / django-uta-0.0.2.tar.gz
| Download URL | django-uta-0.0.2.tar.gz |
|---|---|
| Size | 2.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f0339f638cbc04ee85f79ad4b6351c7b371bc5593c6c89d696170686485d6f6b
|
|
BLAKE2b-256 checksum How to use checksums |
b1b9a8b3acad70546e0e5bd56fc855c7ace98ccacc0d276d11521a01f54bf225
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |