For anyone interested,

In django/django/forms/forms.py  ln 45:

# Walk through the MRO.
declared_fields = OrderedDict()
for base in reversed(new_class.__mro__):
    # Collect fields from base class.
    if hasattr(base, 'declared_fields'):
        declared_fields.update(base.declared_fields)



"reverse(new_class.__mro__)" is causing order of inherited forms to be 
reversed. 

DeclarativeFieldsMetaclass was reworked for version 1.7 and I don't know what 
the intended behavior is so I am not opening a ticket.


I tested with two unrelated Django applications and I found the same results in 
both.


-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/eac8a367-dd9d-4694-a019-903de1f8166e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to