Skip to content

Package for help you to make ease build email templates in your project.

License

Notifications You must be signed in to change notification settings

APSL/django-email-foundation

Repository files navigation

django-email-foundation

django-email-foundation in Travis django-email-foundation in PyPi django-email-foundation in Readthedocs

Package that helps you build email templates easier in your projects.

Description

It's a Django package that helps you to build email templates for your email engine sender (we recommend you to use django-yubin). It uses the zurb foundation for emails templates and node packages such as inky or panini.

This gives you some commands and functionality to integrate zurb foundation for emails in your Django project.

  • install_requires: A command for install the required node packages, such as inky, panini, gulp, etc., in your project.
  • create_basic_structure: It creates in your project an essential folder tree which contains the basic layout and folders such as pages, helpers and partials, used by panini_.
  • email_builder: Run a gulp process to watch your source templates, build and move to your target email folder. It compiles the sources using panini_ and inky_ for the best compatibility with the major email clients.

Also, it gives you a Django view to preview the build templates and use a custom fixed context for each one, useful for your designers that may edit the layouts.

Documentation

Please read the full documentation at readthedocs