Re: Search tables related by a foreign key in admin

2007-05-16 Thread Kent Johnson
RajeshD wrote: > >> search_fields = ['question', 'choice_choice'] >> >> Where choice_choice is supposed to be pointing to the choice field in >> the choice model, but something is not working with that. I am sure >> that I am missing something very easy and I was wondering if someone >> could po

Re: Search tables related by a foreign key in admin

2007-04-13 Thread Craig Kuhns
Thanks, that did it. Craig On 4/13/07, RajeshD <[EMAIL PROTECTED]> wrote: > > > > > > search_fields = ['question', 'choice_choice'] > > > > Where choice_choice is supposed to be pointing to the choice field in > > the choice model, but something is not working with that. I am sure > > that I am

Re: Search tables related by a foreign key in admin

2007-04-13 Thread RajeshD
> > search_fields = ['question', 'choice_choice'] > > Where choice_choice is supposed to be pointing to the choice field in > the choice model, but something is not working with that. I am sure > that I am missing something very easy and I was wondering if someone > could point it out to me. Tr

Search tables related by a foreign key in admin

2007-04-13 Thread Craig Kuhns
I am going through the Poll tutorial and i am just messing around with the code so that i understand what is all going on. While doing this the great idea occured to me that one should be able to search for a poll in the admin site based on the choices associated with it. I was looking around an