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
Built Distribution
File details
Details for the file django-tonnikala-0.0.4.tar.gz
.
File metadata
- Download URL: django-tonnikala-0.0.4.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.0.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a6690704adca685ec7965bc06e5b549ef1a14276718ee1ef2cb604b5d6d1001 |
|
MD5 | 1b71aba5efd25fb97ed80d9f763fc928 |
|
BLAKE2b-256 | 77688cee516a3d929b0b37cfd62344da03d1daa09ccfe64f5daf4e875f2326ec |
File details
Details for the file django_tonnikala-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: django_tonnikala-0.0.4-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.0.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 358f3284ef1757aaf0030bdef494490fcd6d8e9815afc43333b988f40bc47976 |
|
MD5 | 8f60fa2a690a632266365fa723566918 |
|
BLAKE2b-256 | 3a59f12432f95cbd8ae394253ebcb99f6cb88b5c5c872adbbc64e26d79b99a5f |