#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 Kevin Renskers):

 Not sure if duplicate names are an actual problem in real world projects.
 And maybe you could only add the parent name in case there are duplicates?
 The length of showing the whole thing is definitely a real world problem
 though. In my Django projects I'm literally not able to use this double
 underscore feature because the labels just get way way too long, and I've
 never run into duplicate labels. Not saying it won't happen for anyone,
 but to me this feature seems to only work in the 20% rather than the 80%.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35765#comment:2>
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/01070191f9cd424d-10ac921f-2e4d-4fad-9c5e-1d0e8f2c6bad-000000%40eu-central-1.amazonses.com.

Reply via email to