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

Comment (by carljm):

 I think we should move ahead with this ticket as outlined in the
 description.

 I might favor the version in #17924 if we were designing the API from
 scratch, but the problem with #17924 is that for consistent API it would
 imply deprecating Meta.widgets, and I just don't think the benefit of a
 "universal" approach is worth a deprecation cycle for already-existing
 functionality that's in wide use. (#17924 also carries the minor
 disadvantage of requiring a lot more commas, quotes, and curly braces for
 simple customizations.) If we have the common cases covered via direct
 Meta options, overriding `__init__` is still always an option for the
 uncommon cases.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/20000#comment:14>
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/064.4d8afa0d648d9b5ef52703f13749656c%40djangoproject.com?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to