Chapter 9. Advanced Templates

Although most of your interactions with Django's template language will be in the role of template author, you may want to customize and extend the template engine—either to make it do something it doesn't already do, or to make your job easier in some other way.

This chapter delves deep into the guts of Django's template system. It covers what you need to know if you plan to extend the system or if you're just curious about how it works. It also covers the autoescaping feature, a security measure you'll no doubt notice over time as you continue to use Django.

If you're looking to use the Django template system as part of another application (i.e., without the rest of the framework), make sure to read the "Configuring ...

Get The Definitive Guide to Django: Web Development Done Right, Second Edition 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.