Re: Template tag to check if object in queryset

2009-11-17 Thread dadapapa
Thanks for the pointers. This is exactly what I want and have to do then ... fingers crossed for inclusion into django1.2! On Nov 17, 5:15 pm, Tom Evans wrote: > On Tue, Nov 17, 2009 at 4:07 PM, dadapapa wrote: > > Dear list, > > > I have two models that are in the following relationship: > > >

Re: Template tag to check if object in queryset

2009-11-17 Thread Tom Evans
On Tue, Nov 17, 2009 at 4:07 PM, dadapapa wrote: > Dear list, > > I have two models that are in the following relationship: > > class Member(django.contrib.auth.models.User) : ># some app specific stuff here >pass > > class Event(django.db.models.Model) : >attendees = mode

Template tag to check if object in queryset

2009-11-17 Thread dadapapa
Dear list, I have two models that are in the following relationship: class Member(django.contrib.auth.models.User) : # some app specific stuff here pass class Event(django.db.models.Model) : attendees = models.ManyToManyRelation(Member) # some other fields In my