Django backend for Tonnikala templating language
Project description
Tonnikala templates - powered by ponies!
Django integration for the one-ton templating language.
To use, install (with pip install django-tonnikala
or python setup.py install
) and configure your settings:
TEMPLATES = [ { 'BACKEND': 'django_tonnikala.backends.Tonnikala', 'DIRS': [], 'APP_DIRS': True, 'OPTIONS': { # TODO }, }, ]
And add your templates to your_app/tonnikala/
!
Running the example project
The git repository includes an example project
python3 -m venv venv pip install -r example_project/requirements.txt python example_project/manage.py migrate python example_project/manage.py runserver
And then visit http://localhost:8000
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-tonnikala-0.0.4.tar.gz
(2.4 kB
view hashes)
Built Distribution
Close
Hashes for django_tonnikala-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 358f3284ef1757aaf0030bdef494490fcd6d8e9815afc43333b988f40bc47976 |
|
MD5 | 8f60fa2a690a632266365fa723566918 |
|
BLAKE2-256 | 3a59f12432f95cbd8ae394253ebcb99f6cb88b5c5c872adbbc64e26d79b99a5f |