Django ships with a number of built-in template tags and filters to modify and work with the data in your templates. Recall that filters are used to modify the way data is displayed in templates, such as transforming text to upper or lower case. Tags allow you to execute some logic in your templates, such as looping through data, escaping text for use in JavaScript, and sorting lists.
Most of the common needs of template development are covered using the built-in tags and filters. Unfortunately, not all of them have examples provided in the online documentation, so we'll cover all of them here with examples.
In this chapter, we will explore how to use each of Django's built-in tags and filters with a demonstration of their usage and syntax.