subuk / django-dbtemplate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

django-dbtemplate

build status

With django-dbtemplate your users may override templates from admin interface. Main purpose of this project - allow admin users to override email templates.

Installation

  1. Install package

    pip install django-dbtemplate
  2. Add "dbtempalte" and "django.contrib.admindocs" to INSTALLED_APPS

    INSTALLED_APPS = (
        ...
        'dbtemplate',
        'django.contrib.admindocs',
        ...
    )
  3. Add loader "dbtemplate.loader.DatabaseLoader" to TEMPLATE_LOADERS.

For production deployments, always use cached template loader to awoid unnecessary database queries.

About

License:MIT License


Languages

Language:Python 88.9%Language:HTML 11.1%