Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » Django
  • » ManyToMany autocomplete field and large amounts of autocomplete data [RSS Feed]

#1 June 11, 2010 11:01:26

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

ManyToMany autocomplete field and large amounts of autocomplete data


Hello all,

I am looking for an m2m autocomplete field which should have the
following characteristics:

1. It should not at any point execute choices.all(). I have about
20000 choices, so this will be a performance killer.
2. It should allow the user to type in some text, and select from a
list of choices (aka autocomplete...). Then a choice should be added
to a list of selected items. The user could remove the choice from the
list by clicking a remove button. The list to autocomplete from should
be a configurable url.
3. The form should return a list of selected pks.
4. Works with international characters, works with IE6+, Firefox 3+.
5. Preferrably jquery based.
6. The selected choices should be validated against the DB, again not
using choices.all().

Does anybody know if there is a field of this kind available
somewhere? I have looked around, but requirement 1 seems to be missing
from them all.

If there is not one available I will write my own and share it with
the community. So, widgets & fields almost doing the required things
are interesting also...

--
Anssi

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

  • Root
  • » Django
  • » ManyToMany autocomplete field and large amounts of autocomplete data [RSS Feed]

Board footer

Moderator control

Enjoy the 15th 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