--- id: django-jinja version: "2.11.0" license: BSD license_treatment: permissive maintenance: active --- # django-jinja — Jinja2 templating language integrated in Django. License: permissive · Maintenance: active · Downloads: 278.3K/mo ## What it is and what it does django-jinja bridges Jinja2 and Django by registering Jinja2 as an alternative template engine within Django's template system. Instead of writing templates in Django's template language, you write them in Jinja2 syntax, which is more expressive and closer to standard Python. The package handles the integration so that Django's template loader, context processors, and other machinery work with Jinja2 templates. It's useful when you prefer Jinja2's syntax and features over Django's built-in template language, or when migrating a project that already uses Jinja2. The package is nonobstructive—you can mix both template engines in the same project if needed. It requires only jinja2 and django as runtime dependencies and supports Python 3.8 and later across Django versions 3.2 through 4.2. Use it for: - Use it when you prefer Jinja2's syntax and want to write Django templates without learning Django's template language. - Use it to migrate an existing Jinja2-based project into a Django application without rewriting all templates. - Use it to leverage Jinja2 features like macros, filters, and tests that differ from Django's default templates. - Use it in a project where both Jinja2 and Django templates coexist, configured to handle different template directories. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Integrates Jinja2 templating into Django, allowing you to use Jinja2 syntax alongside or instead of Django's default template language. Yes. The package is actively maintained, has no known vulnerabilities, installs with minimal friction, and carries a permissive BSD license. It's a straightforward bridge for developers who want Jinja2 in Django. Install it if you prefer Jinja2's syntax or are migrating a Jinja2 project into Django. ## Install pip install django-jinja uv add django-jinja poetry add django-jinja ## Installing django-jinja Before you install: Low friction install with just two runtime dependencies. Actively maintained as of 2026-07-20 with production-stable status. License in practice: BSD license is permissive, allowing use in commercial and proprietary projects with minimal restrictions. Quickstart: pip install django-jinja In Django settings, add django_jinja to INSTALLED_APPS and configure it in TEMPLATES to use Jinja2 as your template engine alongside or instead of Django's default. Requires Python 3.8 or later and Django 3.2 or later. Verify before relying: - Whether Jinja2 syntax is fully compatible with all Django template features or if there are known gaps. - Performance characteristics compared to Django's default template engine. - Whether all Django versions 3.2–4.2 are equally well-supported or if some have known issues. ## Package facts - License: BSD (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 278.3K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags jinja2 django templates, django template engine, jinja2 integration django, alternative django templating, django jinja2 support, django-integration, template-engine [View on SkillFed](https://skillfed.io/packages/django-jinja) · [View on PyPI](https://pypi.org/project/django-jinja/)