Thanks - that's it. Sanity confirmed. Those "new in Django xx"
comments are invaluable (when they're there!) for tired eyes looking
at two superficially identical documents.



On Mar 23, 11:40 am, Russell Keith-Magee <freakboy3...@gmail.com>
wrote:
> On Mon, Mar 23, 2009 at 6:55 PM, PNM <pnmo...@gmail.com> wrote:
>
> > I have a sorting problem with a completely basic ModelForm instance
> > (the class has only Meta with model and fields) -- the object's
> > __iter__ seems to be following object.fields (as defined in the
> > model), rather than Meta.fields (as the documentation leads me to
> > expect). Is it me, or is there something wrong here?
>
> What version of Django are you using? The ordering behaviour you
> describe was only added recently to trunk; it isn't (and won't ever
> be) available in v1.0.X.
>
> This should be explicitly marked in the documentation, although it
> appears that it isn't. However, if you compare the relevant section of
> the docs between v1.0 and development:
>
> http://docs.djangoproject.com/en/dev/topics/forms/modelforms/#using-a...http://docs.djangoproject.com/en/1.0/topics/forms/modelforms/#using-a...
>
> You will see that the operation of Meta.fields has changed.
> Yours,
> Russ Magee %-)
--~--~---------~--~----~------------~-------~--~----~
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