On Fri, Oct 17, 2008 at 12:55 AM, AndyB <[EMAIL PROTECTED]> wrote:
> I've googled and the only problems seem to be with people trying to do
> case-sensite lookups.
>
> What could be going wrong here?:
>
>>>> b.filter(name__icontains='Saff')
> [<Building: 27276: Saffron Court>]
>>>> b.filter(name__icontains='saff')
> []

Could you do:

from django.db import connection
connection.queries

to see the raw SQL queries?

Ronny

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to