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