Re: Advice on many to many with too many records in admin

2009-02-14 Thread Malcolm Tredinnick
On Sat, 2009-02-14 at 11:28 -0800, Rob Hudson wrote: > Hi Django Users, > > I'm setting up a new Django model for a Newsletter app. The > newsletter model has a many to many to a Book model that has about > 20,000 records. This results in a multiple select box that is > unusable for

Re: Advice on many to many with too many records in admin

2009-02-14 Thread Alex Gaynor
On Sat, Feb 14, 2009 at 2:44 PM, Rob Hudson wrote: > > On Sat, Feb 14, 2009 at 11:29 AM, Alex Gaynor > wrote: > > Have you tried using raw_id_fields with it? > > http://docs.djangoproject.com/en/dev/ref/contrib/admin/#raw-id-fields > > Just now

Re: Advice on many to many with too many records in admin

2009-02-14 Thread Rob Hudson
On Sat, Feb 14, 2009 at 11:29 AM, Alex Gaynor wrote: > Have you tried using raw_id_fields with it? > http://docs.djangoproject.com/en/dev/ref/contrib/admin/#raw-id-fields Just now tested that out. That works pretty well but the downside is that, for the user, the ID

Re: Advice on many to many with too many records in admin

2009-02-14 Thread Alex Gaynor
On Sat, Feb 14, 2009 at 2:28 PM, Rob Hudson wrote: > > Hi Django Users, > > I'm setting up a new Django model for a Newsletter app. The > newsletter model has a many to many to a Book model that has about > 20,000 records. This results in a multiple select box that is >

Advice on many to many with too many records in admin

2009-02-14 Thread Rob Hudson
Hi Django Users, I'm setting up a new Django model for a Newsletter app. The newsletter model has a many to many to a Book model that has about 20,000 records. This results in a multiple select box that is unusable for searching/selecting books. I have some ideas on what I can do to make this