#20000: Allow overriding `label`, `help_text` and `error_messages` for the 
default
fields in `ModelForm`
-----------------------------+--------------------------------------
     Reporter:  loic84       |                    Owner:  loic84
         Type:  New feature  |                   Status:  closed
    Component:  Forms        |                  Version:  master
     Severity:  Normal       |               Resolution:  wontfix
     Keywords:               |             Triage Stage:  Unreviewed
    Has patch:  1            |      Needs documentation:  0
  Needs tests:  0            |  Patch needs improvement:  0
Easy pickings:  0            |                    UI/UX:  0
-----------------------------+--------------------------------------

Comment (by carljm):

 FWIW, I think this patch would be a positive improvement. It makes common
 customization cases simpler, and avoids the error-prone alternative of
 overriding the field entirely and the extra-boilerplate alternative of
 overriding `__init__` and patching fields there. I also think the supplied
 new customization points are very similar in nature to the existing
 `Meta.widgets`, and it's an odd inconsistency to have one but not the
 others. What argument is there for `Meta.widgets` that does not apply
 equally to labels, help texts, and error messages?

 In other words, if you decide to bring it up on django-developers, I am +1
 for the change.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/20000#comment:3>
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].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to