Skip to main content

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-tonnikala, version 0.0.4
Filename, size File type Python version Upload date Hashes
Filename, size django_tonnikala-0.0.4-py3-none-any.whl (2.9 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size django-tonnikala-0.0.4.tar.gz (2.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page