Skip to content

The Adventure of Counting Unread Notifications

Kiarash Golezardi edited this page Feb 6, 2019 · 1 revision

Custom template tags and filters from Django Docs.

Django tips: Template context processors:

For situations where you want to get content out of your database, a template tag is typically the best way to go, but consider a related situation: what happens when you want a particular variable — not a content object — to be available in the context of every template?

Clone this wiki locally