Your're correct.
I never use autocomplete widget before but I will try it!

On Monday, September 17, 2012 4:21:20 PM UTC-5, Massimo Di Pierro wrote:
>
> IS_IN_DB is incharge of building the select(*options). How many options do 
> you get in the form. It is possible most of the time is spent in rendering 
> the form. Perhaps you should use
>
> requires = [IS_IN_DB(....)] # notice the [...] and the autocomplete widget.
>
> On Monday, 17 September 2012 15:36:15 UTC-5, Omi Chiba wrote:
>>
>> Yeah ! It's about 5 seconds now !!
>>
>> On Monday, September 17, 2012 3:22:23 PM UTC-5, rochacbruno wrote:
>>>
>>> IS_IN_DB receives a cache parameter so you can do
>>>
>>> db.table.field.requires = IS_IN_DB(........, cache=(cache.ram, 1800))
>>>
>>>
>>> For that number of records I would use an ajax widget with endless 
>>> scroll.
>>> (http://ivaynberg.github.com/select2/#infinite)
>>>
>>

-- 



Reply via email to