Skip to main content

Allow to override templates from admin interface

Project description

build status https://badge.fury.io/py/django-dbtemplate.svg

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.

Project details


Download files

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

Files for django-dbtemplate, version 0.4.2
Filename, size File type Python version Upload date Hashes
Filename, size django_dbtemplate-0.4.2-py2.py3-none-any.whl (20.2 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size django-dbtemplate-0.4.2.tar.bz2 (11.1 kB) File type Source Python version None Upload date Hashes View
Filename, size django-dbtemplate-0.4.2.tar.gz (12.8 kB) File type Source Python version None Upload date Hashes View
Filename, size django-dbtemplate-0.4.2.zip (22.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page