Skip to content

Entries published on June 14, 2006

1 entry published on this date. See also: all entries published in June 2006, full archive.

Django tips: Template context processors

Last time around we looked at how to write an effective template tag, with the focus on writing a flexible template tag that would make it easy to pull in various types of recent content in any page; I use a tag similar to the one in that entry to pull out the recent entries, links and comments in the footer of every page on this site.

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 …

Entry published June 14, 2006. Read full entry.