On 6/28/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> 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:
>
try something like this:

{% ifchanged %}
<tr><th class="info" colspan="2"><span class="date">{{
post.created|date:"Y.m.d" }}</span></th></tr>
{% endifchanged %}
{% ifnotchanged %}
<hr />
{% endifnotchanged %}
>
> 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
>
>
> >
>


-- 
----
Waylan Limberg
[EMAIL PROTECTED]

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