On 8/10/06, Corey <[EMAIL PROTECTED]> wrote:
> I have a model with several foreign keys. Currently when I do a search,
> it returns everything. The query string shows ?e=1.
>
> The search_fields is set to a local field and a foreign key.
>
> If a remove the foreign key from the search fields, I get a programming
> error: FROM-clause is missing, relating to the foreign key I just
> removed from the search_fields. This same foreign key is in the
> ordering list.

Hey Corey,

That's really strange...Would you be willing to paste your model, so
we can try to recreate the error? Also, which database backend are you
on?

Adrian

-- 
Adrian Holovaty
holovaty.com | djangoproject.com

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