Actually, exact lookups are the default:
http://www.djangoproject.com/documentation/db_api/#default-lookups-are-exact

Carl, it's likely that you were not using quotes around your strings.
.get(x=a) will get the record where property x matches the defined
variable a (which you probably hadn't defined)
.get(x='a') will get the record where property x matches the string "a"

On Oct 9, 8:36 am, "MerMer" <[EMAIL PROTECTED]> wrote:
> Details are in the Database API document .  The "exact" expression is
> defined in the glossary thoough the example uses .get rather than
> .filter
>
> MerMer
>
> carlwenrich wrote:
> > it worked, thanks. where would i find it if you hadn't been so kind as
> > to tell me?


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

Reply via email to