Skip to main content
PyCon US is happening May 14th-22nd in Pittsburgh, PA USA.  Learn more

Use CheetahTemplate3 in Django

Project description

Django-CheetahTemplate is a Django template backend to use CheetahTemplate3 in Django.

It works with Python 2.7 or Python 3.4+, Django 1.11 and 2+, CheetahTemplate3.

Install django-cheetahtemplate. Add or change TEMPLATES in settings.py the following way:

TEMPLATES = [
    {
        'APP_DIRS': True,
        'BACKEND': 'django_cheetahtemplate.DjangoCheetahTemplate',
        'DIRS': [
        ],
        'OPTIONS': {
        },
    },
]

Put templates in cheetahtemplate subdirectories of installed applications. See example.

Author: Oleg Broytman <phd@phdru.name>.

Copyright (C) 2018-2022 PhiloSoft Design.

License: MIT.

Supported by

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