Get Django Updates

In addition to Django templates, the Django framework also supports Jinja templates. Jinja is a standalone template engine project[1] that's very similar to Django's built-in template system.

However, the adoption and growth behind Jinja templates in Django projects is in part due to the design limitations of Django templates which have changed little to nothing since Django's creation.

Jinja advantages and disadvantages

In order for you to gain a high-level perspective of Jinja templates and learn if they're a good fit for your Django projects, I'll first enumerate some of the main advantages and disadvantages of Jinja templates. Let's start with the advantages:

Note It's only fair to mention Django templates also support custom loaders with caching to improve speed & performance -- as described in the previous chapter -- but this requires further configuration effort in Django.

And now some Jinja template disadvantages:

  1. http://jinja.pocoo.org/     

  2. https://www.python.org/dev/peps/pep-0525/