Chapter 13. Advanced View Configurations
What You’ll Learn in This Hour
- How to load templates from applications
- How to create custom libraries to customize the template system
- How to create custom filters
- How to create custom tags
- How to create
simple_tag
s - How to create
inclusion_tag
s
This hour covers extending the template engine to create advanced view configurations. Django provides many capabilities with its built-in tags. However, as you begin creating new custom tags and filters in your projects, a whole new world opens up.
This hour also discusses how to create custom tags and filters that you can use in your templates to reduce the amount of code necessary to generate web pages. The examples in this hour are simple to enable you to quickly ...
Get Sams Teach Yourself Django in 24 Hours 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.