djaodjin-extended-templates is a Django application that adds missing features for managing Django templates.
Major Features:
- Live editing of HTML templates
- Build .css from .scss on page load
- HTML email templates
- PDF templates
- Media assets gallery
- Upload theme packages
Development
Attention! (2024-10-01) Renamed master branch to main
(see GitHub Renaming the default branch from master).
After cloning the repository, create a virtualenv environment, install the prerequisites, create the database then run the testsite webapp.
$ python -m venv .venv
$ source .venv/bin/activate
$ pip install -r testsite/requirements.txt
$ make vendor-assets-prerequisites
$ make initdb
$ python manage.py runserver
# Browse http://localhost:8000/
# Start edit live templates
Configure the settings to connect to your e-mail server, then run the sendtestemail command.
credentials:
EMAIL_HOST_USER =
EMAIL_HOST_PASSWORD =
site.conf:
EMAIL_HOST =
EMAIL_PORT =
EMAIL_USE_TLS =
DEFAULT_FROM_EMAIL =
Then run the sendtestemail command and look for an e-mail delivered to you
in HTML format.
$ python manage.py sendtestemail __your_email_address__
Note that you will need to link podofo-flatform.cc with podofo
version 0.9.3. Version 0.9.1 as shipped with many RedHat systems will link
with no error but the outputed PDF will be blank.
Release Notes
Tested with
- Python: 3.12, Django: 5.2 (LTS)
- Python: 3.14, Django: 6.1 (next)
- Python: 3.10, Django: 4.2 (legacy)
- Python: 3.9, Django: 3.2 (legacy)
0.5.5
- adds API to remove template file from theme
- fixes 500 error because
RegexValidatorreturns a DjangoValidationError
Metadata
Release files for djaodjin-extended-templates 0.5.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| djaodjin_extended_templates-0.5.5.tar.gz | 73.5 kB | Without provenance | Details for djaodjin_extended_templates-0.5.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| djaodjin_extended_templates-0.5.5-py3-none-any.whl | Python 3 | none | any | Details for djaodjin_extended_templates-0.5.5-py3-none-any.whl |
Total release size: 190.5 kB
Release files / djaodjin_extended_templates-0.5.5.tar.gz
| Download URL | djaodjin_extended_templates-0.5.5.tar.gz |
|---|---|
| Size | 73.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
34e266db1b23a7e60002a5cbd0f895b1b4ba58d85e8be4f428f86401990004b3
|
|
BLAKE2b-256 checksum How to use checksums |
dab64af2a0420af5e3a9fe030659c8502300556391b67585d530be90a1364983
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.8
|
Release files / djaodjin_extended_templates-0.5.5-py3-none-any.whl
| Download URL | djaodjin_extended_templates-0.5.5-py3-none-any.whl |
|---|---|
| Size | 117.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5232268b0ab1ad7d2c452786568e5cc3c9cf9e05ba9d5ac7a984149f9224800f
|
|
BLAKE2b-256 checksum How to use checksums |
5947f082c05fd262f9d51d25331064b69e5303e9381d5b8ec9757a5e81f865dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.8
|
Security for djaodjin-extended-templates 0.5.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.