#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: master
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 felixxm):
Replying to [comment:18 Hugo Osvaldo Barrera]:
> On the other hand, `help_text` for method-fields seem to make perfect
sense. They would be rendered on the `changeform` just like the
`help_text` for any other readonly field.
>
> They also don't seem niche at all, and align very well with the existing
admin UX.
>
> Do you think just the first item would be acceptable? Looks like the
implementation can be extracted from #12309, excluding the `changelist`
changes.
You can use `short_description` that already works for methods, that's
more appropriate because you want to describe a value. `help_text` is
rather an instruction for filling forms.
--
Ticket URL: <https://code.djangoproject.com/ticket/26761#comment:19>
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/067.eefad889393eb34349d6e7af2ba730a5%40djangoproject.com.