{"id":23581,"library":"django-mjml","title":"django-mjml","description":"Django integration for MJML, the responsive email framework. Currently at v1.5, supports Django 6.0 and Python >=3.9. Release cadence is irregular, roughly yearly updates.","status":"active","version":"1.5","language":"python","source_language":"en","source_url":"https://github.com/liminspace/django-mjml","tags":["django","mjml","email","templates"],"install":[{"cmd":"pip install django-mjml","lang":"bash","label":"Install from PyPI"}],"dependencies":[{"reason":"Used for HTTP API mode to send MJML rendering requests to a server","package":"requests","optional":true}],"imports":[{"wrong":"from django_mjml import mjml","symbol":"django","correct":"from mjml import django"}],"quickstart":{"code":"# settings.py\nINSTALLED_APPS = [\n    ...\n    'django_mjml',\n]\n\nMJML_BACKEND_MODE = 'cmd'  # or 'http' or 'tcp'\nMJML_EXEC_CMD = 'mjml'  # local node mjml command\n\n# In your template:\n{% load mjml %}\n{% mjml %}\n<mjml>\n  <mj-body>\n    <mj-section>\n      <mj-column>\n        <mj-text>Hello {{ name }}!</mj-text>\n      </mj-column>\n    </mj-section>\n  </mj-body>\n</mjml>\n{% endmjml %}","lang":"python","description":"Basic setup: add 'django_mjml' to INSTALLED_APPS, configure backend, and use the mjml template tag."},"warnings":[{"fix":"Upgrade to Python >=3.9 and Django >=3.2 (current minimums). If you relied on the bundled TCP server, migrate to https://github.com/danihodovic/mjml-server.","message":"Version 1.0 dropped support for Python 2.7 and Django versions older than 2.2. Also moved MJML TCP-Server to a separate repository.","severity":"breaking","affected_versions":">=1.0"},{"fix":"Ensure your Python version is >=3.9 and your MJML binary is at least 4.14.1.","message":"In v1.5, Python 3.6, 3.7, and 3.8 are no longer supported. Also MJML versions older than 4.14.1 have been removed from tests.","severity":"breaking","affected_versions":">=1.5"}],"env_vars":null,"search_vec":"'3.9':20 '6.0':17 'cadenc':22 'current':12 'django':2,4,16,28 'django-mjml':1 'email':10,30 'framework':11 'integr':5 'irregular':24 'mjml':3,7,29 'python':19 'releas':21 'respons':9 'rough':25 'support':15 'templat':31 'updat':27 'v1.5':14 'year':26","created_at":"2026-05-01T08:08:31.996212+00:00","updated_at":"2026-05-01T08:08:31.996212+00:00","problems":null,"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"1.5","cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/liminspace/django-mjml","docs":null,"changelog":null,"pypi":"https://pypi.org/project/django-mjml/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["web-framework","communication"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-08-02","install_tag":null}}