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
Install package
pip install django-dbtemplate
Add “dbtempalte” and “django.contrib.admindocs” to INSTALLED_APPS
INSTALLED_APPS = ( ... 'dbtemplate', 'django.contrib.admindocs', ... )
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
Built Distribution
File details
Details for the file django-dbtemplate-0.4.2.zip
.
File metadata
- Download URL: django-dbtemplate-0.4.2.zip
- Upload date:
- Size: 22.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 008e77b3711b9e15cb2a0d5ca4bd789e2f2ba296c041036d626ba9faa3ee6384 |
|
MD5 | fe9afe9f47ad490ca67f3586d3ab19c0 |
|
BLAKE2b-256 | 13c358083bec0cda79cf6419629bb3e94f332dc15c467d45153cbcb6ae9d4314 |
File details
Details for the file django-dbtemplate-0.4.2.tar.gz
.
File metadata
- Download URL: django-dbtemplate-0.4.2.tar.gz
- Upload date:
- Size: 12.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9671317ddf7bba13a92ebadc1ceb916cf88e5668eaf44d077596baadab92d544 |
|
MD5 | 0aa7b681d3bd627deb5963296c9b391e |
|
BLAKE2b-256 | e18a741547a28689bcfa07a16e99fadd7126c04adbd72b2ca7b64c02e20e6751 |
File details
Details for the file django-dbtemplate-0.4.2.tar.bz2
.
File metadata
- Download URL: django-dbtemplate-0.4.2.tar.bz2
- Upload date:
- Size: 11.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a67310b7b5bd5d0385699ef9b617c7cad1e201f563b05b6958ca8920336bb67 |
|
MD5 | 300544dfe8a5f25a46c69791b05181ca |
|
BLAKE2b-256 | ff9a5cdd8ae956170ac0ea5b9d1118de72ea8993edd0371bd4e4ca528259f0f7 |
File details
Details for the file django_dbtemplate-0.4.2-py2.py3-none-any.whl
.
File metadata
- Download URL: django_dbtemplate-0.4.2-py2.py3-none-any.whl
- Upload date:
- Size: 20.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 210abd4125ef6671c937475529930be54f1f419807416ead15899f062ffccf44 |
|
MD5 | 9e6d7dec0c98d3e24e5b76815e638855 |
|
BLAKE2b-256 | 71601aeb46a5a08129a9f80ac10b3a37180db900517af475a74154870702bf24 |