Skip to main content
Help us improve Python packaging – donate today!

Allow to override templates from admin interface

Project Description

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.

Release history Release notifications

This version
History Node

0.4.2

History Node

0.4.1

History Node

0.4

History Node

0.3

History Node

0.2

History Node

0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
django_dbtemplate-0.4.2-py2.py3-none-any.whl (20.2 kB) Copy SHA256 hash SHA256 Wheel 2.7 Jun 11, 2015
django-dbtemplate-0.4.2.tar.bz2 (11.1 kB) Copy SHA256 hash SHA256 Source None Jun 11, 2015
django-dbtemplate-0.4.2.tar.gz (12.8 kB) Copy SHA256 hash SHA256 Source None Jun 11, 2015
django-dbtemplate-0.4.2.zip (22.1 kB) Copy SHA256 hash SHA256 Source None Jun 11, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page