Re: data field error running mysql 5.0.45 django 0.96.1

2008-05-22 Thread unixdude_from_mars
However the code works for earlier versions of mysql. Which is interesting.. Looks like the best fix at the moment would be to generate another view and use a specific query for the date. I wonder if a warning is generated with the earlier version of mysql. I wondered if anyone else had

Re: data field error running mysql 5.0.45 django 0.96.1

2008-04-28 Thread Karen Tracey
2008/4/28 unixdude_from_mars <[EMAIL PROTECTED]>: > > I am attempting to query my database for a DateField. I use the > following lines to set the qset in my view code. > > query = request.GET.get('q','') > if query: > ( > Q(end__icontains=query) | >

data field error running mysql 5.0.45 django 0.96.1

2008-04-28 Thread unixdude_from_mars
I am attempting to query my database for a DateField. I use the following lines to set the qset in my view code. query = request.GET.get('q','') if query: ( Q(end__icontains=query) | Q(maintenance_contractor__name__icontains=query) | Q(purchase_order__icontains=query) )