So I'm building the archive pages for a blog. In the sidebar I have a
list of months that contain posts, linking to the archive month page.
I've made an inclusion tag for this which uses
Article.objects.dates('pub_date', 'month', order='DESC'). Pretty
standard stuff. I'm having a hard time figuring out a good way to show
the post count for each month next to them though, e.g.
January (3)
March (1)
etc
Any ideas?

Thanks,
Jason
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to