Re: Admin interface search queries not working for me

2007-09-28 Thread Will McCutchen
On Sep 27, 9:41 pm, yish <[EMAIL PROTECTED]> wrote: > I defined my search_fields for my model as > seach_fields ('name') > instead of > search_fields ['name'] > ... > If anyone is curious, what ended up happening is instead of iterating > across the search fields, it iterated across the letter

Re: Admin interface search queries not working for me

2007-09-27 Thread Yuri Baburov
The correct is to write search_fields = ('name',) with comma. You are showing that the search_fields are not mutable. 2007/9/28, yish <[EMAIL PROTECTED]>: > > Ignore my post, I found the issue :-) User error of course: > > I defined my search_fields for my model as > seach_fields ('name') > ins

Re: Admin interface search queries not working for me

2007-09-27 Thread yish
Ignore my post, I found the issue :-) User error of course: I defined my search_fields for my model as seach_fields ('name') instead of search_fields ['name'] I incorrectly followed the standard for all the other admin class settings: list_display = ('username', 'email', 'first_name', 'las

Admin interface search queries not working for me

2007-09-27 Thread yish
HI all, New to Django, but I still did some triage to try finding out what was going on and better understand the framework. I set a breakpoint within django.contrib.admin.views.main.py and found I was getting an "IncorrectLookupParameters" exception when I entered in a text query string. I am