Re: Template problem with dates(field, kind, order='ASC')

2008-09-13 Thread djandrow
Sorry, must have forgotton that part, it just wasn't displaying anything, its was cos I was archive.datetime, when archive was already a dateime object. Now I've changed it to {{ archive }} its fine. Thanks guys, Andrew --~--~-~--~~~---~--~~ You received this

Re: Template problem with dates(field, kind, order='ASC')

2008-09-13 Thread Daniel Roseman
On Sep 13, 10:49 pm, djandrow <[EMAIL PROTECTED]> wrote: > This is probably really really obvious. I have the following statement > in my views.py: > > archive_list = Entry.objects.dates('entry_date', 'month', > order='DESC') > > then I have; > > {% for archive in archive_list %} > > {{

Re: Template problem with dates(field, kind, order='ASC')

2008-09-13 Thread Matthias Kestenholz
On Sat, Sep 13, 2008 at 11:49 PM, djandrow <[EMAIL PROTECTED]> wrote: > > This is probably really really obvious. I have the following statement > in my views.py: > > archive_list = Entry.objects.dates('entry_date', 'month', > order='DESC') > > then I have; > > {% for archive in archive_list %} >

Template problem with dates(field, kind, order='ASC')

2008-09-13 Thread djandrow
This is probably really really obvious. I have the following statement in my views.py: archive_list = Entry.objects.dates('entry_date', 'month', order='DESC') then I have; {% for archive in archive_list %} {{ archive.datetime }} {% endfor %} in my template, i am 99.9% my problem is with {{