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:
<li><a href="{% url coltrane_entry_archive_year year=2009 %}">{% now
"Y" %}</a></li>
but this (as well as many variations)
<li><a href="{% url coltrane_entry_archive_year year=now%}">{% now "Y"
%}</a></li>
gets:
NoReverseMatch: Reverse for 'cms.coltrane_entry_archive_year' with
arguments '()' and keyword arguments '{'year': ''}' not found.
do I need to write a view for this?
Thanks
Joe
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---