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.

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 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page