#26761: Admin - add 'help_text' property to custom fields -------------------------------+-------------------- Reporter: gamesbook | Owner: nobody Type: New feature | Status: new Component: contrib.admin | Version: 1.9 Severity: Normal | Keywords: admin Triage Stage: Unreviewed | Has patch: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------+-------------------- It would be helpful to allow for a `help_text` property to be supplied to a custom field in the admin.
For example: {{{ from django.contrib import admin class AuthorAdmin(admin.ModelAdmin): fields = ('name', 'title', 'view_birth_date') def view_birth_date(self, obj): return obj.birth_date view_birth_date.short_name = 'birth_date' view_birth_date.empty_value_display = '???' view_birth_date.help_text = 'Authors birthday' }}} This help text could be displayed via a 'hover over' in the header(s) of the columns in the admin list display. -- Ticket URL: <https://code.djangoproject.com/ticket/26761> 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 django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/052.0b55c8c7e7bba5d1f0b4d5ea023d19ba%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.