On Wed, May 28, 2008 at 4:32 AM, sector119 <[EMAIL PROTECTED]> wrote:
> Is it a bug, or I misunderstood something in filter usage?

It looks like you have stray whitespace or line breaks in the middle
of things which should be continuous text. This would, naturally, lead
to strange behavior. For example, this works:

User.objects.get(username__exact='bob')

But this probably won't:

User.objects.get(user          name
                         __          exact='bob')

Double-check your code.

-- 
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."

--~--~---------~--~----~------------~-------~--~----~
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