Re: Creating an archive navigation for date_based.archive_month

2007-09-11 Thread Max Romantschuk
> Hope this helps, > Chris It did indeed! I suspected a tag was the way to go, but I hadn't had time to properly introduce myself to writing tags. I shamelessly nicked your code, and now I have what I need: http://max.romantschuk.fi/blog/ (See the left sidebar. Note: DNS just started pointing to

Re: Creating an archive navigation for date_based.archive_month

2007-09-10 Thread Chris Moffitt
Here's how I've done it on my blog. Use this tag (which I pulled from somewhere else on the web)- http://www.satchmoproject.com/trac/browser/satchmoproject.com/satchmo_website/apps/blog/templatetags/month-list.py Here's the template that uses the tag-

Creating an archive navigation for date_based.archive_month

2007-09-10 Thread Max Romantschuk
I'm in the process of porting my site to Django, and I'm wondering how to best implement a monthly archive navigation like in Django's weblog's sidebar: http://www.djangoproject.com/weblog/ I'm using generic views. I basically need the information provided in date_based.archive_year: the months