Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Allow to override templates from admin interface

Project Description

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

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 Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting