Django Essentials, Part 1

Template tags and filters

Your browser needs to be JavaScript capable to view this video

Try reloading this page, or reviewing your browser settings

This segment covers Django’s main template tags for loo** over data, using inheritance to avoid duplication, and if/else to show conditional contents. It also discusses some useful template tags, for showing HTML tags, showing Boolean data and correct pluralization.

Keywords

  • Django template filters
  • Django template tags
  • loops
  • extend
  • base template
  • safe html filter
  • pluralize filter
  • yesno filter

About this video

Author(s)
Coen de Groot
First online
17 February 2024
DOI
https://doi.org/10.1007/978-1-4842-9740-7_5
Online ISBN
978-1-4842-9740-7
Publisher
Apress
Copyright information
© Coen de Groot 2024