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
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) |
>
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)
)
3 matches
Mail list logo