Re: Auto-archive lists

2006-10-23 Thread seemant
Hi Everyone, Thanks really much for all those pointers! Templatetags are exactly what I wound up doing. RossP -- thanks for your blog and example download code -- saved me to see actual working stuff :) Cheers, Seemant --~--~-~--~~~---~--~~ You received this

Re: Auto-archive lists

2006-10-05 Thread Steven Armstrong
On 10/05/06 17:34, seemant wrote: > Hi All, > > So, on the right column of http://www.djangoproject.com/weblog/ that > page, we see an index of archived posts, going back 12 months or so. > > And so I thought I'd check out the template: >

Re: Auto-archive lists

2006-10-05 Thread RajeshD
Hi Seemant, There's no single construct that would do all that for you. But there are a few handy ways that you could consider: 1. Pass the distinct list of months in 'extra_context' to the generic view date_based.archive_index and use that list in your template. 2. The generic view

Re: Auto-archive lists

2006-10-05 Thread Grigory Fateyev
Hello seemant! On Thu, 05 Oct 2006 15:34:17 - you wrote: > > Hi All, > > So, on the right column of http://www.djangoproject.com/weblog/ that > page, we see an index of archived posts, going back 12 months or so. > > And so I thought I'd check out the template: >

Re: Auto-archive lists

2006-10-05 Thread James Bennett
On 10/5/06, seemant <[EMAIL PROTECTED]> wrote: > but the template (and adrian's commit message) seem to imply that that > list is generated manually. Is there no construct in Django that will > auto-gen a link list like that? You could write a template tag to do it pretty easily, the database

Auto-archive lists

2006-10-05 Thread seemant
Hi All, So, on the right column of http://www.djangoproject.com/weblog/ that page, we see an index of archived posts, going back 12 months or so. And so I thought I'd check out the template: http://code.djangoproject.com/browser/djangoproject.com/django_website/templates/base_weblog.html but