django-jinja

Release v0.10.

django-jinja is a BSD LIcensed, simple and nonobstructive jinja2 integration with Django.

Introduction

Jinja2 provides certain advantages over the native system of django, for example, explicit calls to callable from templates, has more performance and has a plugin system, etc ...

There are another projects that attempt do same think: Djinja, Coffin, etc... Why one more?

  • Unline djinja, django-jinja is not intended to replace a django template engine, but rather, it complements the django template engine, giving the possibility to use both.
  • Unlike coffin, the django-jinja codebase is much smaller and more modern. This way is much more maintainable and easily understandable how the library works.

Features

  • Auto load templatetags compatible with jinja2 on same way as django.
  • Can combine the django templates with jinja2 templates without any problems.
  • Django template filters and tags mostly can be used on jinja2 templates.
  • I18n subsystem adapted for jinja2 (makemessages now collects messages from jinja templates)
  • Compatible with python2 and python3 with same codebase.

Table Of Contents

Next topic

Quickstart

This Page

Fork me on GitHub