Commit 5b33adea authored by Luke Plant's avatar Luke Plant
Browse files

Fixed documentation of 'description' option of Admin.fields to reflect actual behaviour


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7545 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent 875967ed
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -1372,9 +1372,10 @@ link. Fieldsets with the ``wide`` style will be given extra horizontal space.
``description``
~~~~~~~~~~~~~~~

A string of optional extra text to be displayed at the top of each fieldset,
under the heading of the fieldset. It's used verbatim, so you can use any HTML
and you must escape any special HTML characters (such as ampersands) yourself.
A string of optional extra text to be displayed at the top of each
fieldset, under the heading of the fieldset. If you want this to
include HTML, use ``django.utils.safestring.mark_safe`` so the HTML
will not be escaped.

``js``
------