Thank you all for your help.

I did this and it worked. Much easier to work with because there are
so many items.

class IngredientInline(admin.TabularInline):
    model = IngredientInfo
    raw_id_fields = ("ingredient_name",)
    extra = 3



On Jan 14, 1:33 pm, Matias Aguirre <matiasagui...@gmail.com> wrote:
> Yes, it's possible, define them in in your inline class.
>
> Excerpts from mongoose's message of Fri Jan 14 08:53:18 -0200 2011:
>
> > Ok so I've tried it but can't get it to work properly. I am using
> > inlines. Is it possible to use raw_id_fields with inlines?
>
> > On Jan 4, 9:25 am, mongoose <darrenma1...@gmail.com> wrote:
> > > Thanks so much I'm going to give this a try!
>
> > > On Jan 3, 1:54 pm, Greg Turner <g...@interaction.net.au> wrote:
>
> > > > Using a raw_id_field instead of a dropdown list will open a popup with a
> > > > 'pseudo' django admin. The reason I call it 'pseudo' is that the list 
> > > > can be
> > > > searched or filtered just like the normal django admin, but when you 
> > > > click
> > > > on an item, it becomes the selected item in your inline, and the window
> > > > closes.
>
> > > > On 3 January 2011 18:55, mongoose <darrenma1...@gmail.com> wrote:
>
> > > > > Hi there,
>
> > > > > I have a drowdown list in my inlines. The problem is that there are
> > > > > over 3500 items which is making is difficult for people to use. Are
> > > > > there eaiser ways perhaps to filter or search within the dropdownlist?
>
> > > > > Thanks
>
> > > > > --
> > > > > 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<django-users%2bunsubscr...@googlegroups.com>
> > > > > .
> > > > > For more options, visit this group at
> > > > >http://groups.google.com/group/django-users?hl=en.
>
> > > > --
>
> > > > Dr Greg Turner
> > > > Director, the Interaction Consortiumhttp://interaction.net.au
> > > > Phone: +61 2 8060 1067
> > > > skype: gregturner
> > > > Follow us on twitter:
>
> > > >http://twitter.com/theixchttp://twitter.com/gsta
>
> --
> Matías Aguirre <matiasagui...@gmail.com>

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