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

Project details


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)

Uploaded Source

Built Distribution

django_tonnikala-0.0.4-py3-none-any.whl (2.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page