© Daniel Rubio 2017

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

3. Django Templates

Daniel Rubio

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

Django templates define the layout and final formatting sent to end users after a view method is finished processing a request. In this chapter, you’ll learn the syntax used by Django templates, the configuration options available for Django templates, as well as the various Django template constructs (e.g., filters, tags, context processors) that allow you to create elaborate layouts and apply formatting to the content presented to end users.

Django Template Syntax

Although there are over 100 built-in constructs that help you build Django templates – all of which you’ll learn ...

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.