On Wed, May 20, 2009 at 10:34 AM, ccsakuweb <patr...@gmail.com> wrote:

>
> Sorry, I forgot to tell it, I use the 1.0.2 version
>
> On 19 mayo, 23:41, Alex Gaynor <alex.gay...@gmail.com> wrote:
> > On Tue, May 19, 2009 at 2:53 PM, ccsakuweb <patr...@gmail.com> 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. Only
> > > respect the attributes of the model in the fields array.
> > > The result in the form is:
> > > attribute2
> > > attribute3
> > > newInput1
> > > newInput2
> > > newInput3
> >
> > > Is there any solution to order the new inputs too? Or the solution is
> > > only to create a form without inheritance from a model?
> >
> > > I hope you understand me. Sorry because my simple english.
> >
> > What version of Django are you running?  Ordering fields is only
> supported
> > in the latest development version.
> >
> > Alex
> >
> > --
> > "I disapprove of what you say, but I will defend to the death your right
> to
> > say it." --Voltaire
> > "The people's good is the highest law."--Cicero- Ocultar texto de la cita
> -
> >
> > - Mostrar texto de la cita -
> >
>
Ordering fields in the Meta option isn't supported in 1.0.2, it's not until
a recent developement version that this feature was added.

Alex

-- 
"I disapprove of what you say, but I will defend to the death your right to
say it." --Voltaire
"The people's good is the highest law."--Cicero

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to