I've got an app for user events, using the generic list view to display them. So far , so good. But I don't want to display them if the date is past. So, how would I filter those out. Here's the template code, so you can sorta see what I'm getting at:
{% for show in show_list|dictsort:"show_date" %} <tr> <td><a href="{{ user.get_absolute_url }}">{{ show.user }}</a></td> <td><a href="{{ show.get_absolute_url }}">{{ show.artist }}</a></td> <td>{{ show.venue }} <address>{{ show.address }},<br /> {{ show.city }}, {{ show.state }}</address></td> <td>{{ show.show_date.date|date:"F d, Y" }}, {{show.show_date.time|time:"g a" }}</td> </tr> {% endfor %} --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---