Re: passing current datetime to generic view archive_year in a decoupled url

2009-05-02 Thread Malcolm Tredinnick
On Sat, 2009-05-02 at 21:00 -0700, josebrwn wrote: > Hi, I'm trying to pass the current year the date based view > archive_year using the "url" template tag, and I'm stuck trying to get > the current time to resolve. this works just fine: > > {% now > "Y" %} > > but this (as well as many variat

passing current datetime to generic view archive_year in a decoupled url

2009-05-02 Thread josebrwn
Hi, I'm trying to pass the current year the date based view archive_year using the "url" template tag, and I'm stuck trying to get the current time to resolve. this works just fine: {% now "Y" %} but this (as well as many variations) {% now "Y" %} gets: NoReverseMatch: Reverse for 'cms.coltr