Re: help with query set

2013-07-14 Thread Mike Dewhirst
On 15/07/2013 1:11am, Bobby Roberts wrote: hi. I need help with this simple setup. i need to get a list of announcements where active =1 and the discontinueDate is either null OR less than NOW. I haven't looked at your code but your words above indicate you want all announcements which have

help with query set

2013-07-14 Thread Bobby Roberts
hi. I need help with this simple setup. i need to get a list of announcements where active =1 and the discontinueDate is either null OR less than NOW. There are two issues: 1) the filter doesn't work 2) numannouncements always equals 1 even when nothing is returned any ideas? * model