On 8/3/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > * If you're not using any of the objects with is_past_show == False, > then change your view so that object_list is only the objects with > is_past_show==True. Then you can do this:
Assuming the use of the object_list generic view, this is pretty easy; it's just tacking a filter() onto the view's 'queryset' argument and setting 'allow_empty' (so that it won't throw a 404 when there are no matching shows). -- "May the forces of evil become confused on the way to your house." -- George Carlin --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---