Beardy Geek – Web Development Blog

A blog about web development – giving tips and tutorials about all aspects of web dev.


Beardy Geek – Web Development Blog

Archives by timeline

Django Tips – Unique Date Querysets

I swear this particular feature of querysets was made especially for the archive listing of a blog. You know, the month and year listing in the side bar for all your previous posts. This solves that problem exactly. Let’s say you have a BlogPost model, and a post_date field within said model. You want a […]

FacebookTwitterGoogle+LinkedInRedditStumbleUponShare

February 16, 2009, Django