On Wed, Jan 21, 2009 at 3:04 PM, Alessandro Ronchi <
alessandro.ron...@soasi.com> wrote:

>
> 2009/1/21 Karen Tracey <kmtra...@gmail.com>:
> > On Wed, Jan 21, 2009 at 10:21 AM, Alessandro Ronchi
> > <alessandro.ron...@soasi.com> wrote:
> >>
> >> When one tries to make a search in admin with a model table he gets this
> >> error:
> >>
> >> TypeError: Related Field has invalid lookup: icontains
> >>
> >> is there anyway to solve it and make it returns nothings instead of 500
> >> error?
> >
> > Some details of the model and admin defs in use here would help someone
> help
> > you.
> >
> > Karen
>
> A part of my models.py:
> http://dpaste.com/111580/
>
> and my admin:
> http://dpaste.com/111581/
>
> Thanks in advance!
>

Egads, they're huge.  Any way you could cut that down to a small failing
example?  Or at least mention which model you are trying the search on?
Also a traceback instead of just the last error message would probably help,
as it might give some clue where to start looking.

Karen

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