Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » Django
  • » Too many items in my drowndown list [RSS Feed]

#1 Jan. 3, 2011 07:55:19

m.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Too many items in my drowndown list


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 athttp://groups.google.com/group/django-users?hl=en.

Offline

#2 Jan. 3, 2011 12:06:48

Thomas G.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Too many items in my drowndown list


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 athttp://groups.google.com/group/django-users?hl=en.

Offline

#3 Jan. 3, 2011 12:07:10

Greg T.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Too many items in my drowndown list


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-us...@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.auPhone: +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 athttp://groups.google.com/group/django-users?hl=en.

Offline

#4 Jan. 4, 2011 07:25:36

m.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Too many items in my drowndown list


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-us...@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--
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 athttp://groups.google.com/group/django-users?hl=en.

Offline

#5 Jan. 14, 2011 10:53:26

m.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Too many items in my drowndown list


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--
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 athttp://groups.google.com/group/django-users?hl=en.

Offline

#6 Jan. 14, 2011 11:34:10

Matias A.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Too many items in my drowndown list


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 athttp://groups.google.com/group/django-users?hl=en.

Offline

#7 Jan. 14, 2011 11:48:39

m.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Too many items in my drowndown list


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 athttp://groups.google.com/group/django-users?hl=en.

Offline

Board footer

Moderator control

Enjoy the 14th of December
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support