#23236: forms.Form should support a Meta class like forms.ModelForm
-----------------------------+--------------------------------------
     Reporter:  django@…     |                    Owner:  nobody
         Type:  New feature  |                   Status:  new
    Component:  Forms        |                  Version:  master
     Severity:  Normal       |               Resolution:
     Keywords:               |             Triage Stage:  Unreviewed
    Has patch:  0            |      Needs documentation:  0
  Needs tests:  0            |  Patch needs improvement:  0
Easy pickings:  0            |                    UI/UX:  0
-----------------------------+--------------------------------------

Comment (by bmispelon):

 I don't see what's "un-DRY" about extending the `__init__()` method and
 setting up the widget there.

 I like the plain `Form`'s (relative) simplicity and lack of a "magic"
 `Meta` class.
 Overriding things in `__init__()` is the normal Python way of doing
 things.

 All-in-all, I'm -0 on the idea.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/23236#comment:2>
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/075.39632f6b0bee1e811d498c1343789403%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to