Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Django helpful things

Project description

A handful of utilities for Django!

Latest PyPI version Number of PyPI downloads


  • Copy to helpful or include as git submodule
  • Add `'helpful',` to `INSTALLED_APPS `
  • Add `EMAIL_DEBUG = ['']` to `` for use debug email mode. (chanhe email address)
  • Add `EMAIL_DEBUG_INFO = True` to `` to show debug info (original email address) before email

Template Tags


convert image to base64

{% image2base64 "image.png" %}
{% load object_dict %}
{% for field in message|object_dict %}
    {{ field.verbose_name }}
    {{ field.display }}
{% endfor %}
{% load abs_puth %}
{% abs_puth "static" "django/img/logo.png" %}
{% abs_puth "media" "uploads/photos/joue.jpg" %}
{% abs_puth "base" "templates/e-mail/css/style.css" %}
{% abs_puth "parent" "extra/logo.png" %}


template must be ‘email/contacts’ files ‘email/contacts.html’ and ‘email/contacts.txt’ must will exist

from helpful.easy_email import mail
mail(subject, context, template, from_email, to_email, connection=None, reply_to=None, attach_files=[], cc=None, bcc=None)

Project details

Download files

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

Files for django-helpful, version 1.5.8
Filename, size File type Python version Upload date Hashes
Filename, size django_helpful-1.5.8-py3-none-any.whl (11.4 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page