On 24-Mar-09, at 9:28 PM, Bobby Roberts wrote:

> When I try to search on anything at all, the screen just blinks and
> returns all of the records.  This same syntax works perfectly on
> another model.  There's no error but the search function in the
> /admin is not working.  Any ideas what it could be?

Do you mind sharing the class definition for this model? Is any of the
fields in the search_fields by any chance a ForeignKey or such?
Despite the fact that Django stipulates that search fields be some
form of text fields, I was able to reproduce what you described by
including a ForeignKey in search_fields without using the lookup API
follow notation---I tested on 0.97-pre-SVN-unknown.

-- 
Ayaz Ahmed Khan

An evil mind is a great comfort.


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