[1.7.x] Fixed #21353 -- Noted that description is ignored for TabularInlines.

Thanks nofinator for the report.

Backport of d5031ecf88 from master
This commit is contained in:
Tim Graham 2014-04-10 13:31:59 -04:00
parent b4681be154
commit ae78227de3
1 changed files with 3 additions and 1 deletions

View File

@ -381,7 +381,9 @@ subclass::
* ``description``
A string of optional extra text to be displayed at the top of each
fieldset, under the heading of the fieldset.
fieldset, under the heading of the fieldset. This string is not
rendered for :class:`~django.contrib.admin.TabularInline` due to its
layout.
Note that this value is *not* HTML-escaped when it's displayed in
the admin interface. This lets you include HTML if you so desire.