Donn,

You could use the filter_(horizontal|vertical) solution available on
Admin.
For more details: 
http://docs.djangoproject.com/en/dev/ref/contrib/admin/#filter-horizontal

[]s,
Diego Ucha
http://www.diegoucha.com/

On 26 set, 18:28, bruno desthuilliers <[EMAIL PROTECTED]>
wrote:
> On 26 sep, 19:12, Donn <[EMAIL PROTECTED]> wrote:
>
> > Hi,
> > I thought I'd ask before rolling my own (at tedious pace) widget/whatever:
>
> > If you have a foreign key field to a table of thousands of, say, author 
> > names,
> > the drop-down control becomes a real problem:
> > 1. It's not paged so all the items have to be stuffed into the html.
> > 2. It's damn hard to use.
>
> > What are the alternatives? Any working solutions out there? How does one 
> > offer
> > a choice out of thousands?
>
> Most answers will require javascript. The 'simplest' one is to use a
> "popup" window in which you'll have paging, filtering etc. More
> complex (well... not necessarily more complex in fact) are ajax based
> - like, as David mentioned, an autocomplete combo. If you want to
> avoid javascript, you'll need to store the current form's state and
> whatnots (using session) and redirect to a page displaying possible
> choices with (just like with the popup solution) paging, filtering
> etc, and once choice made "return" to the form's page restoring saved
> state.
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to