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.

Source Distributions

django-dbtemplate-0.4.2.zip (22.1 kB view details)

Uploaded Source

django-dbtemplate-0.4.2.tar.gz (12.8 kB view details)

Uploaded Source

django-dbtemplate-0.4.2.tar.bz2 (11.1 kB view details)

Uploaded Source

Built Distribution

django_dbtemplate-0.4.2-py2.py3-none-any.whl (20.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-dbtemplate-0.4.2.zip.

File metadata

File hashes

Hashes for django-dbtemplate-0.4.2.zip
Algorithm Hash digest
SHA256 008e77b3711b9e15cb2a0d5ca4bd789e2f2ba296c041036d626ba9faa3ee6384
MD5 fe9afe9f47ad490ca67f3586d3ab19c0
BLAKE2b-256 13c358083bec0cda79cf6419629bb3e94f332dc15c467d45153cbcb6ae9d4314

See more details on using hashes here.

File details

Details for the file django-dbtemplate-0.4.2.tar.gz.

File metadata

File hashes

Hashes for django-dbtemplate-0.4.2.tar.gz
Algorithm Hash digest
SHA256 9671317ddf7bba13a92ebadc1ceb916cf88e5668eaf44d077596baadab92d544
MD5 0aa7b681d3bd627deb5963296c9b391e
BLAKE2b-256 e18a741547a28689bcfa07a16e99fadd7126c04adbd72b2ca7b64c02e20e6751

See more details on using hashes here.

File details

Details for the file django-dbtemplate-0.4.2.tar.bz2.

File metadata

File hashes

Hashes for django-dbtemplate-0.4.2.tar.bz2
Algorithm Hash digest
SHA256 3a67310b7b5bd5d0385699ef9b617c7cad1e201f563b05b6958ca8920336bb67
MD5 300544dfe8a5f25a46c69791b05181ca
BLAKE2b-256 ff9a5cdd8ae956170ac0ea5b9d1118de72ea8993edd0371bd4e4ca528259f0f7

See more details on using hashes here.

File details

Details for the file django_dbtemplate-0.4.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_dbtemplate-0.4.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 210abd4125ef6671c937475529930be54f1f419807416ead15899f062ffccf44
MD5 9e6d7dec0c98d3e24e5b76815e638855
BLAKE2b-256 71601aeb46a5a08129a9f80ac10b3a37180db900517af475a74154870702bf24

See more details on using hashes here.

Supported by

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