#35765: Change label of list_display with __ lookup to only show the bit after 
the
__
--------------------------------+--------------------------------------
     Reporter:  Kevin Renskers  |                    Owner:  (none)
         Type:  Uncategorized   |                   Status:  closed
    Component:  contrib.admin   |                  Version:  5.0
     Severity:  Normal          |               Resolution:  wontfix
     Keywords:                  |             Triage Stage:  Unreviewed
    Has patch:  0               |      Needs documentation:  0
  Needs tests:  0               |  Patch needs improvement:  0
Easy pickings:  0               |                    UI/UX:  0
--------------------------------+--------------------------------------
Comment (by Tom Carrick):

 > Not sure if duplicate names are an actual problem in real world
 projects.

 They certainly are. I can imagine having an article name with a category
 name quite easily, for example. I would actually like the header here to
 "category" and not "name" - so the opposite of your proposed fix.

 As the fix is quite simple - as you mention, and it can cause some
 ambiguity and be the opposite of what you want, I don't think this is the
 fix.

 I'm not saying there isn't a fix, I do agree that this can lead to quite
 long table headers and cause problems, but I don't think it's this. And it
 might just be to let projects handle it themselves.

 But if we want to have this discussion, I agree, a forum post is the
 place.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35765#comment:3>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070191fa3c9097-b72d0190-63d7-4027-9ad0-548094e7d9b5-000000%40eu-central-1.amazonses.com.

Reply via email to