#13883: Render named groups of field choices in the admin with optgroups
-------------------------------------+-------------------------------------
     Reporter:  SardarNL             |                    Owner:  Sean
                                     |  Helvey
         Type:  New feature          |                   Status:  closed
    Component:  contrib.admin        |                  Version:  dev
     Severity:  Normal               |               Resolution:  fixed
     Keywords:  admin, SelectBox,    |             Triage Stage:  Ready for
  optgroup, sprintdec2010            |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  1
-------------------------------------+-------------------------------------
Changes (by Jacob Walls <jacobtylerwalls@…>):

 * resolution:   => fixed
 * status:  assigned => closed

Comment:

 In [changeset:"b1ffa9a9d78b0c2c5ad6ed5a1d84e380d5cfd010" b1ffa9a]:
 {{{#!CommitTicketReference repository=""
 revision="b1ffa9a9d78b0c2c5ad6ed5a1d84e380d5cfd010"
 Fixed #13883 -- Rendered named choice groups with <optgroup> in
 FilteredSelectMultiple.

 This patch adds support for <optgroup>s in FilteredSelectMultiple widgets.
 When a popup returns a new object, if the source field contains optgroup
 choices, the optgroup is now also included in the response data.

 Additionally, this adds error handling for invalid source_model parameters
 to prevent crashes and display user-friendly error messages instead.

 Co-authored-by: Michael McLarnon <[email protected]>
 }}}
-- 
Ticket URL: <https://code.djangoproject.com/ticket/13883#comment:54>
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 visit 
https://groups.google.com/d/msgid/django-updates/0107019be89fd30f-a6800330-284d-4396-8ef7-60135b497857-000000%40eu-central-1.amazonses.com.

Reply via email to