Re: Too many items in my drowndown list

2011-01-14 Thread mongoose
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  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  wrote:
> > > Thanks so much I'm going to give this a try!
>
> > > On Jan 3, 1:54 pm, Greg Turner  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  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
> > > > > .
> > > > > 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 

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



Re: Too many items in my drowndown list

2011-01-14 Thread Matias Aguirre
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  wrote:
> > Thanks so much I'm going to give this a try!
> >
> > On Jan 3, 1:54 pm, Greg Turner  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  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
> > > > .
> > > > 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 

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



Re: Too many items in my drowndown list

2011-01-14 Thread mongoose
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  wrote:
> Thanks so much I'm going to give this a try!
>
> On Jan 3, 1:54 pm, Greg Turner  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  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
> > > .
> > > 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

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



Re: Too many items in my drowndown list

2011-01-03 Thread mongoose
Thanks so much I'm going to give this a try!

On Jan 3, 1:54 pm, Greg Turner  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  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-us...@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.
>
> --
>
> 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

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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.



Re: Too many items in my drowndown list

2011-01-03 Thread Greg Turner
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  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-us...@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.
>
>


-- 

Dr Greg Turner
Director, the Interaction Consortium
http://interaction.net.au
Phone: +61 2 8060 1067
skype: gregturner
Follow us on twitter:

http://twitter.com/theixc
http://twitter.com/gsta

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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.



Re: Too many items in my drowndown list

2011-01-03 Thread Thomas Guettler
Hi,

for the admin interface you can use raw_id.

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

-- 
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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.