Re: Decoupling "choices" from Fields

2006-04-16 Thread Adrian Holovaty
On 4/16/06, George Sakkis <[EMAIL PROTECTED]> wrote: > Is there any thought on decoupling the "choices" parameter from the > type of bound Field, so that for instance something like > > IntegerField('Results per page', choices=[(n,n) for n in > 10,20,30,50,100]) > > would work as expected and not

Decoupling "choices" from Fields

2006-04-16 Thread George Sakkis
Is there any thought on decoupling the "choices" parameter from the type of bound Field, so that for instance something like IntegerField('Results per page', choices=[(n,n) for n in 10,20,30,50,100]) would work as expected and not return string instead ? If not, I'll add a ticket, though I'm not