O'Reilly logo

Sams Teach Yourself Django in 24 Hours by Brad Dayley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 9. Using Built-in Template Filters to Enhance Views

<feature><title>What You’ll Learn in This Hour</title> <objective>

How to apply filters in templates

</objective>
<objective>

How to format text using filters

</objective>
<objective>

How to create and manipulate lists using filters

</objective>
<objective>

How to sort a list of dictionaries in a template

</objective>
<objective>

How to format dates using filters

</objective>
</feature>

Django provides a robust library of built-in filters that you can use to manipulate data inside templates. In this hour, you will learn how to use filters to manipulate data that is rendered inside templates.

As you understand and use filters, you will see that they provide several necessary features that are needed ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required