Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed documentation of 'description' option of Admin.fields to reflec…

…t actual behaviour

git-svn-id: http://code.djangoproject.com/svn/django/trunk@7545 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 5b33adeafcabcc28dc6cab28ea80d0bc5fe445f4 1 parent 875967e
Luke Plant authored May 22, 2008

Showing 1 changed file with 4 additions and 3 deletions. Show diff stats Hide diff stats

  1. 7  docs/model-api.txt
7  docs/model-api.txt
@@ -1372,9 +1372,10 @@ link. Fieldsets with the ``wide`` style will be given extra horizontal space.
1372 1372
 ``description``
1373 1373
 ~~~~~~~~~~~~~~~
1374 1374
 
1375  
-A string of optional extra text to be displayed at the top of each fieldset,
1376  
-under the heading of the fieldset. It's used verbatim, so you can use any HTML
1377  
-and you must escape any special HTML characters (such as ampersands) yourself.
  1375
+A string of optional extra text to be displayed at the top of each
  1376
+fieldset, under the heading of the fieldset. If you want this to
  1377
+include HTML, use ``django.utils.safestring.mark_safe`` so the HTML
  1378
+will not be escaped.
1378 1379
 
1379 1380
 ``js``
1380 1381
 ------

0 notes on commit 5b33ade

Please sign in to comment.
Something went wrong with that request. Please try again.