[BangPypers] Fwd: Regarding Forms : "ModelMultipleChoiceField"

2015-12-09 Thread Kishan Mehta
Hi All, I am working on custom admin interface form generation. I want to display big amount of results (around 5k) as multiple choice field in django form. I want to add search functionality and paginate my following "ModelMultipleChoiceField" field of django form so that results can be selecte

Re: [BangPypers] Fwd: Regarding Forms : "ModelMultipleChoiceField"

2015-12-09 Thread Nikhileshkumar Ikhar
With 5000 choices, it is not a good design from performance n usability point of view. How many times these choices will be accessed? If frequently you have to add them in cache n use ajax calls. If not so frequently then you can go ahead with current design. But i would suggest to use ajax calls

Re: [BangPypers] Fwd: Regarding Forms : "ModelMultipleChoiceField"

2015-12-09 Thread Asif Jamadar
Use django-autocompletelight package - https://django-autocomplete-light.readthedocs.org/en/master/ Asif -Original Message- From: BangPypers [mailto:bangpypers-bounces+asif.jamadar=rezayat@python.org] On Behalf Of Nikhileshkumar Ikhar Sent: Wednesday, December 09, 2015 6:13 PM To: