Skip to content

Latest commit

 

History

History

Chapter-05

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

In this chapter, we will cover the following topics:

  • Following conventions for your own template filters and tags ✅
  • Creating a template filter to show how many days have passed since a post was published ✅
  • Creating a template filter to extract the first media object ✅
  • Creating a template filter to humanize URLs ✅
  • Creating a template tag to include a template, if it exists ✅
  • Creating a template tag to load a QuerySet in a template ✅
  • Creating a template tag to parse content as a template ✅
  • Creating template tags to modify request query parameters ✅

All tags demo


News list


News detail with Tags