#26761: Add 'help_text' property to methods in ModelAdmin.list_display
-------------------------------+------------------------------------------
     Reporter:  Derek Hohls    |                    Owner:  Hasan Ramezani
         Type:  New feature    |                   Status:  closed
    Component:  contrib.admin  |                  Version:  dev
     Severity:  Normal         |               Resolution:  wontfix
     Keywords:                 |             Triage Stage:  Unreviewed
    Has patch:  1              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+------------------------------------------

Comment (by Carsten Fuchs):

 Hello Adam, thanks for your reply!

 I understand how this approach solves the problem, however it makes it
 difficult to achieve visual consistency with the genuine `help_text`
 attributes, because for that the Admin's HTML markup and styling must
 carefully be accounted for and be reproduced in `format_html("…")`. It
 also doesn't cover the double-use of the `help_text` in the tooltips in
 the table column headers on the list pages.

 Using `format_html()` as you suggested properly covers my use case. I also
 understand that new features cannot be added lightheartedly to the Admin.
 However, it still feels to me that this is a (albeit small) piece of
 functionality that is missing.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/26761#comment:22>
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/010701881069c67d-f62220d4-0449-4e42-ad4e-e7cc697650a9-000000%40eu-central-1.amazonses.com.

Reply via email to