#2583: can't use ForeignKey in list view (class Admin: list_display)
--------------------------------------+-------------------------------------
          Reporter:  235              |         Owner:  nobody
            Status:  closed           |     Milestone:        
         Component:  Admin interface  |       Version:  SVN   
        Resolution:  worksforme       |      Keywords:        
             Stage:  Unreviewed       |     Has_patch:  0     
        Needs_docs:  0                |   Needs_tests:  0     
Needs_better_patch:  0                |  
--------------------------------------+-------------------------------------
Comment (by ubernostrum):

 This is definitely fixed in trunk now, but for anyone stumbling across it
 on older Django: another way to trigger this is to have two foreign keys
 to the same table, one of them with `null=True` and the other set in
 `list_display` (older versions of Django will not do the proper join to
 make this work).

-- 
Ticket URL: <http://code.djangoproject.com/ticket/2583#comment:13>
Django Code <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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to