#5863: list_display does not allow functions of referenced objects
------------------------------------------------------------+---------------
               Reporter:  Beat Bolli <me+django@…>          |         Owner:  
nobody      
                 Status:  reopened                          |     Milestone:    
          
              Component:  django.contrib.admin              |       Version:  
SVN         
             Resolution:                                    |      Keywords:  
list_display
           Triage Stage:  Design decision needed            |     Has patch:  1 
          
    Needs documentation:  1                                 |   Needs tests:  0 
          
Patch needs improvement:  1                                 |  
------------------------------------------------------------+---------------

Comment (by Herman S):

 This needs attention.

 I have the following models:
 * Applicant
 * Application, which has a field "applicant =
 models.ForeignKey(Applicant)"

 In ApplicationAdmin I'm trying to request the applicants name, phone,
 email etc. with:[[BR]]
 list_display = ['status', 'interview' ... 'applicant__name',
 'applicant__email']

 As the parent/child relationship is reversed from what Django's
 ModelAdmin.inlines expect, there seems to not be a solution for my
 problem.

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