© Daniel Rubio 2017

Daniel Rubio, Beginning Django, https://doi.org/10.1007/978-1-4842-2787-9_4

4. Jinja Templates in Django

Daniel Rubio

(1)F. Bahia, Ensenada, Baja California, Mexico

In addition to Django templates, the Django framework also supports Jinja templates. Jinja is a stand-alone template engine project1 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 ...

Get Beginning Django: Web Application Development and Deployment with Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.