#10743: Support lookup separators in ModelAdmin.list_display
-------------------------------------+-------------------------------------
     Reporter:  mrts                 |                    Owner:  nobody
         Type:  New feature          |                   Status:  new
    Component:  contrib.admin        |                  Version:  master
     Severity:  Normal               |               Resolution:
     Keywords:  efficient-admin,     |             Triage Stage:  Accepted
  list_display                       |
    Has patch:  1                    |      Needs documentation:  1
  Needs tests:  1                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by aaugustin):

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


Comment:

 I'm going to reopen this ticket because I disagree with my 19-month-ago-
 former-self.

 My present-day-self keeps trying to write:

 {{{
     list_display = ['foo__bar']
 }}}

 and being mad at Django that it doesn't work.

 We could limit that syntax to relation fields and not support calling
 methods on the target model if that helps. It would still solve 95% of the
 problem.

--
Ticket URL: <https://code.djangoproject.com/ticket/10743#comment:5>
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/062.4f698609a40138049a50f1e461c6d24d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to