When I do a filter like this

 Task.objects.filter(name__exact="test")

I seem to be getting an inexact match.  IE, I get tasks whose name is
"test" as well as tasks whose name is "Test".  Same thing if I do:

Task.objects.filter(name="test")

For example:

(Pdb) for t in Task.objects.filter(name__exact="test"): print t.name

Test
test
test


I don't have any special managers and I see this both in my own model
and doing a filter using the Auth model, ie:

User.objects.get(email="margie.rogin...@gmail.com").email

gives me:
u'margie.rogin...@gmail.com'

I thought this is supposed to be a case sensitive operation - am I
missing something here?  I'm running with the 1.1 final release.

Thanks,
Margie Roginski

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

Reply via email to