Re: date range issue

2009-09-07 Thread Karen Tracey
On Mon, Sep 7, 2009 at 12:33 PM, GuyBowden wrote: > > Hi, > > I'm trying to use __range=(then, now) to filter my queryset > > However the SQL that is being generated is missing the quotes around > the dates - it looks like this: > > .. x BETWEEN 2009-09-01 and 2009-09-07 > > but it sh

date range issue

2009-09-07 Thread GuyBowden
Hi, I'm trying to use __range=(then, now) to filter my queryset However the SQL that is being generated is missing the quotes around the dates - it looks like this: .. x BETWEEN 2009-09-01 and 2009-09-07 but it should look like this: .. x BETWEEN '2009-09-01' and '2009-09-