#28531: MultipleChoiceField / CheckboxSelectMultiple values linked to a 
CharField
not restored on bound model forms
--------------------------+--------------------------------------
     Reporter:  Benjamin  |                    Owner:  nobody
         Type:  Bug       |                   Status:  closed
    Component:  Forms     |                  Version:  1.11
     Severity:  Normal    |               Resolution:  duplicate
     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 Benjamin):

 Replying to [comment:2 Tim Graham]:
 > Looks like a duplicate of #27495. As far as I know, using those widgets
 with `CharField` isn't supported (and shouldn't be, in my opinion). It's
 better practice to store choices in a many to many table than in a
 `CharField`.

 It works fine with postgres array field: values are properly stored and
 restored.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/28531#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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.261d787e434255b9f28372e5680fdd44%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to