Skip to main content

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 templatetags 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rh_email_tpl-0.1.12.tar.gz (93.9 kB view hashes)

Uploaded Source

Built Distribution

rh_email_tpl-0.1.12-py3-none-any.whl (116.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page