#21568: ModelMultipleChoiceField + show_hidden_initial + has_changed = TypeError
-------------------------------------+-------------------------------------
     Reporter:  dibrovsd@…           |                    Owner:  claudep
         Type:  Bug                  |                   Status:  assigned
    Component:  Forms                |                  Version:  1.6
     Severity:  Release blocker      |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
  ModelMultipleChoiceField           |      Needs documentation:  0
  show_hidden_initial                |  Patch needs improvement:  0
    Has patch:  0                    |                    UI/UX:  0
  Needs tests:  0                    |
Easy pickings:  0                    |
-------------------------------------+-------------------------------------
Changes (by claudep):

 * severity:  Normal => Release blocker
 * stage:  Unreviewed => Accepted


Comment:

 The base issue is that `ModelMultipleChoiceField` has currently no
 `to_python` method. Previously (1.5), `has_changed` did not call
 `to_python` on values coming from hidden initial widgets, so this issue
 remained unnoticed. Hence, this is also a regression.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/21568#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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/076.58946c1303a0be22eba7c83cc5881ece%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to