#24626: widgets property doesn't work in ModelForm
----------------------------+--------------------------------------
     Reporter:  lipemorais  |                    Owner:  nobody
         Type:  Bug         |                   Status:  closed
    Component:  Forms       |                  Version:  1.7
     Severity:  Normal      |               Resolution:  invalid
     Keywords:              |             Triage Stage:  Unreviewed
    Has patch:  0           |      Needs documentation:  0
  Needs tests:  0           |  Patch needs improvement:  0
Easy pickings:  0           |                    UI/UX:  0
----------------------------+--------------------------------------
Changes (by timgraham):

 * status:  new => closed
 * needs_docs:   => 0
 * resolution:   => invalid
 * needs_tests:   => 0
 * needs_better_patch:   => 0


Comment:

 It doesn't work on 1.7 because `UserCreationForm` declares the `username`
 field so `Meta.widgets` doesn't have an effect for that field. It does
 work on 1.8+ because the `username` field has been removed as of
 849538d03df21b69f0754a38ee4ec5f48fa02c52.

--
Ticket URL: <https://code.djangoproject.com/ticket/24626#comment:1>
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/068.e2bc73d71a5e9ff5b465f526a01d237b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to