#34097: when i create objects in admin page, it is not posted to server that is
selection of ModelMultipleChoiceField with FilteredSelectMultiple widget
-------------------------------------+-------------------------------------
               Reporter:  Byoungjun  |          Owner:  nobody
  Chung                              |
                   Type:  Bug        |         Status:  new
              Component:             |        Version:  4.1
  contrib.admin                      |       Keywords:
               Severity:  Normal     |  ModelMultipleChoiceField,
           Triage Stage:             |  FilteredSelectMultiple, admin
  Unreviewed                         |      Has patch:  0
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  0
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 I customized form for UserCreate and UserChange based on UserCreationForm
 and UserAdminForm

 because My User Model have a many-to-many field.

 for the field, I use a ModelMultipleChoiceField with
 FilteredSelectMultiple widget.

 I works fine for view and change about already created user.

 but, when i create new user with the field, selection is not saved.

 I cannot find a solution about this with googling.

 finally, i found this is a bug after 4.1 version

 when i change django version to 4.0.8, it work normally.

 this can be reproduced in django default user group creating with several
 permission.

 4.1, permission is not saved.

 4.0.8, permission is saved.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34097>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070183d63fdca9-efb899ff-8f8e-43ef-b3c5-94a5548596c4-000000%40eu-central-1.amazonses.com.

Reply via email to