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-dbtemplateAdd “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.
Release files for django-dbtemplate 0.4.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distributions (sdists)
| File | Size | Uploaded | |
|---|---|---|---|
| django-dbtemplate-0.4.2.zip | 22.1 kB | Details | |
| django-dbtemplate-0.4.2.tar.gz | 12.8 kB | Details | |
| django-dbtemplate-0.4.2.tar.bz2 | 11.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_dbtemplate-0.4.2-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 66.2 kB
Release files / django-dbtemplate-0.4.2.zip
| Download URL | django-dbtemplate-0.4.2.zip |
|---|---|
| Size | 22.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
008e77b3711b9e15cb2a0d5ca4bd789e2f2ba296c041036d626ba9faa3ee6384
|
|
BLAKE2b-256 checksum How to use checksums |
13c358083bec0cda79cf6419629bb3e94f332dc15c467d45153cbcb6ae9d4314
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / django-dbtemplate-0.4.2.tar.gz
| Download URL | django-dbtemplate-0.4.2.tar.gz |
|---|---|
| Size | 12.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9671317ddf7bba13a92ebadc1ceb916cf88e5668eaf44d077596baadab92d544
|
|
BLAKE2b-256 checksum How to use checksums |
e18a741547a28689bcfa07a16e99fadd7126c04adbd72b2ca7b64c02e20e6751
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / django-dbtemplate-0.4.2.tar.bz2
| Download URL | django-dbtemplate-0.4.2.tar.bz2 |
|---|---|
| Size | 11.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3a67310b7b5bd5d0385699ef9b617c7cad1e201f563b05b6958ca8920336bb67
|
|
BLAKE2b-256 checksum How to use checksums |
ff9a5cdd8ae956170ac0ea5b9d1118de72ea8993edd0371bd4e4ca528259f0f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / django_dbtemplate-0.4.2-py2.py3-none-any.whl
| Download URL | django_dbtemplate-0.4.2-py2.py3-none-any.whl |
|---|---|
| Size | 20.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
210abd4125ef6671c937475529930be54f1f419807416ead15899f062ffccf44
|
|
BLAKE2b-256 checksum How to use checksums |
71601aeb46a5a08129a9f80ac10b3a37180db900517af475a74154870702bf24
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |