#9994: list_filter ignores to_field
-------------------------------------------+--------------------------------
          Reporter:  jzylks                |         Owner:  mtredinnick
            Status:  assigned              |     Milestone:             
         Component:  django.contrib.admin  |       Version:  1.0        
        Resolution:                        |      Keywords:             
             Stage:  Unreviewed            |     Has_patch:  0          
        Needs_docs:  0                     |   Needs_tests:  0          
Needs_better_patch:  0                     |  
-------------------------------------------+--------------------------------
Changes (by mtredinnick):

  * owner:  nobody => mtredinnick
  * status:  new => assigned

Comment:

 This isn't a complete fix, since if the related field points to another
 model (chained foreign keys) and so on, I suspect it ends up returning an
 object and not a pk value. This problem exists in a few places were we're
 trying to retrieve the "pk value" (really meaning the representative value
 for the related column) and I keep meaning to fix it holistically in the
 model class.

 Assigning to me so that I have a bug to track that.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/9994#comment:2>
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