#9954: admin change list: list_filter section breaks when using named groups in
the choices field option
-------------------------------------------+--------------------------------
          Reporter:  ramiro                |         Owner:  ramiro             
                                  
            Status:  closed                |     Milestone:                     
                                  
         Component:  django.contrib.admin  |       Version:  SVN                
                                  
        Resolution:  duplicate             |      Keywords:  list_filter 
choices nested option gropus named tuples
             Stage:  Unreviewed            |     Has_patch:  1                  
                                  
        Needs_docs:  0                     |   Needs_tests:  0                  
                                  
Needs_better_patch:  0                     |  
-------------------------------------------+--------------------------------
Changes (by ramiro):

  * status:  new => closed
  * resolution:  => duplicate

Comment:

 Rather than update the patch to current trunk status I will close this as
 a duplicate of #9969 and will generalize the description and extend the
 patch there to also fix this problem.

 Rationale for this is that

  * both bugs are related to the same feature (using named groups in the
 `choices` model field option)
  * both are solved similarly (replacing `choices` with `flatchoices` at
 two different spots in `django/contrib/admin/options.py`) and
  * the regression tests added for both tickets use the same model/fixtures
 so the hunks for the tests overlap.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/9954#comment:10>
Django <http://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 post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to