Re: Incorrect date value: '%2008-10-10%' while searching

2009-01-02 Thread Praveen
Yeah you are right depending on my DB you may or may not be allowed to do a LIKE comparison on that, try doing an exact match Dates don't really 'contain' or 'start with'. that doesn't really make sense, I can do lookups against the year month or day by doing, __year, __month, or __day

Re: Incorrect date value: '%2008-10-10%' while searching

2009-01-02 Thread Matías Costa
On Fri, Jan 2, 2009 at 7:48 AM, Praveen wrote: > > > >By product name : > >By date approval : > > > > > views.py > import Q > > def proreport(request): >query = request.GET.get('q', '') >query1 = request.GET.get('p', '') >print

Incorrect date value: '%2008-10-10%' while searching

2009-01-01 Thread Praveen
By product name : By date approval : views.py import Q def proreport(request): query = request.GET.get('q', '') query1 = request.GET.get('p', '') print query print query1 if query and query1 : qset = (