#5986: Easy way to customize ordering of fields on forms that use inheritance
-------------------------------------+-------------------------------------
     Reporter:  emes                 |                    Owner:  nobody
         Type:  New feature          |                   Status:  new
    Component:  Forms                |                  Version:  master
     Severity:  Normal               |               Resolution:
     Keywords:  field order weight   |             Triage Stage:  Accepted
  form newforms                      |
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by berkerpeksag):

 > use the order_fields() method to rearrange the field order of an
 instance, e.g., in a subclass constructor after some extra fields have
 been added.

 It would be good if users can avoid to call `self.order_fields()` manually
 (see https://github.com/django/django/pull/3652#issuecomment-65085465 for
 a use case). Perhaps we can call this method in `self.full_clean()`,
 `__call__` or somewhere else?

--
Ticket URL: <https://code.djangoproject.com/ticket/5986#comment:37>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/062.571115d9696f156a4433ad3760eb2ec3%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to