DjaoDjin's Template wrappers for HTML email and PDF templates
Project description
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.10, Django: 4.2 (LTS)
- Python: 3.12, Django: 5.2 (latest)
- Python: 3.9, Django: 3.2 (legacy)
0.4.12
- makes all API calls through djApi
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file djaodjin_extended_templates-0.4.12.tar.gz.
File metadata
- Download URL: djaodjin_extended_templates-0.4.12.tar.gz
- Upload date:
- Size: 70.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a81112ef6f5c88a51e1086a97e813293ba05dff200a5db066a30838c8d6908b
|
|
| MD5 |
f846e0e32fe45633438b5e88314d544c
|
|
| BLAKE2b-256 |
af88efcb23f17ec61222a469de4ca080da7f172a16b547469a8eec01cbe357eb
|
File details
Details for the file djaodjin_extended_templates-0.4.12-py3-none-any.whl.
File metadata
- Download URL: djaodjin_extended_templates-0.4.12-py3-none-any.whl
- Upload date:
- Size: 115.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
21fa48c957fdb30d44f2a127a206341dfe9296b650f8290cb627a0cbac277406
|
|
| MD5 |
3d9d3c30a7bc83f6f327405fd3f59fbe
|
|
| BLAKE2b-256 |
d1394ca9c3a94cb71057174a81bc05f0c833d1fe0d086b38d09a6ac6ab0d3ad1
|