Re: need help in query set

2009-05-14 Thread Michael
On Thu, May 14, 2009 at 12:01 PM, Prabhjyot Singh wrote: > > I am using >resultset = queryset.get(status__in=['pending']) > but it is giving me error which says: > > Exception Type: MultipleObjectsReturned > Exception Value: > > get() returned more than one WapAd -- it returned 3!

need help in query set

2009-05-14 Thread Prabhjyot Singh
I am using resultset = queryset.get(status__in=['pending']) but it is giving me error which says: Exception Type: MultipleObjectsReturned Exception Value: get() returned more than one WapAd -- it returned 3! Lookup parameters were {'status__in': ['pending']} Exceptio