Re: Creating a custom form from models, problems when ordering

2009-05-20 Thread Alex Gaynor
On Wed, May 20, 2009 at 10:34 AM, ccsakuweb wrote: > > Sorry, I forgot to tell it, I use the 1.0.2 version > > On 19 mayo, 23:41, Alex Gaynor wrote: > > On Tue, May 19, 2009 at 2:53 PM, ccsakuweb wrote: > > > > > I have a form from a model. I add 3 new inputs. Then when I write in > > > Meta :

Re: Creating a custom form from models, problems when ordering

2009-05-20 Thread ccsakuweb
Sorry, I forgot to tell it, I use the 1.0.2 version On 19 mayo, 23:41, Alex Gaynor wrote: > On Tue, May 19, 2009 at 2:53 PM, ccsakuweb wrote: > > > I have a form from a model. I add 3 new inputs. Then when I write in > > Meta : > > model = models.Table > > fields = ['attribute2', 'newInput1', '

Re: Creating a custom form from models, problems when ordering

2009-05-19 Thread Alex Gaynor
On Tue, May 19, 2009 at 2:53 PM, ccsakuweb wrote: > > I have a form from a model. I add 3 new inputs. Then when I write in > Meta : > model = models.Table > fields = ['attribute2', 'newInput1', 'newInput2', 'newInput3', > 'attribute3'] > for example, the final order is not respect the new inputs.

Creating a custom form from models, problems when ordering

2009-05-19 Thread ccsakuweb
I have a form from a model. I add 3 new inputs. Then when I write in Meta : model = models.Table fields = ['attribute2', 'newInput1', 'newInput2', 'newInput3', 'attribute3'] for example, the final order is not respect the new inputs. Only respect the attributes of the model in the fields array. Th