i am currently looking at building a kinda daily posts blog thing and
basically i need this functionality.  if the date changes, i need a
"date" header.  if the date hasn't changed but i'm on a new blog post i
just need a simple separator.  Now, at first i would imagine this be
the code:

{% ifchanged %}
<tr><th class="info" colspan="2"><span class="date">{{
post.created|date:"Y.m.d" }}</span></th></tr>
{%else %}
<hr />
{% endifchanged %}

but else is not a valid block tag.  any insight from devs or other
users.
i am using the django.views.generic.date_based.archive_index generic
view


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to