Internal RegioHelden tool for building styled html emails
Project description
RegioHelden Email template
rh_email_tpl
is a django app used to render RegioHelden styled HTML emails. It provides also multiple Django
tempatetags used as helpers for building HTML emails.
This project is meant to be used internally by RegioHelden organisation, as it has the company styles and logos.
Installation
Simply run:
pip install rh_email_tpl
And add rh_email_tpl
to your django INSTALLED_APPS
. I.e.: in settings.py
add:
INSTALLED_APPS = [
...
"rh_email_tpl",
...
]
Making a new release
bumpversion is used to manage releases.
Add your changes to the CHANGELOG and run bumpversion <major|minor|patch>
, then push (including tags)
This project uses Black
We use the python Black code formatter.
If you would like to format code directly in your IDE, take a look here. This is possible in PyCharm, Sublime Text, VSCode ...
To ensure that your push will not be rejected, make sure to install pre-commit on your machine. Then inside the project folder run the following:
pre-commit install
This will install the required pre-commit hooks that will run everytime you will commit something.
For more details you can check the .pre-commit-config.yaml
file
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
Hashes for rh_email_tpl-0.1.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22c3dd1df3ce21d94695cf2dbf37debd4337b1faedced6c52ebef6ea50fdc622 |
|
MD5 | 04aaee47088295d551cb2f186c430307 |
|
BLAKE2b-256 | 60e5488d404a8018f2b4ff60b6580aab1d0a00212fc08ef7415306159f8ca084 |