Django developers,

When trying to upgrade Django from 2.2 to 3.0, I encountered a problem
because form fields were changed from OrderedDict to a dict. I asked on
Stack Overflow and got an answer, which was to change the definition
of self.fields in my form to OrderedDict (
https://stackoverflow.com/questions/61140458/how-do-i-specify-order-of-fields-in-django-form
).
So I'm asking - why not change form fields to OrderedDict? Why was it
changed to dict in the first place? Is there any advantage of using dict? I
think changing to dict (from OrderedDict) in Django 3.0 is a mistake and it
should be changed back to OrderedDict.

Thanks,
Uri.
אורי
u...@speedy.net

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/CABD5YeFqrxmWei4E6CgqpuawurjrLrAcX3ow0AdL4_dXDdLEsw%40mail.gmail.com.

Reply via email to