diff options
| author | Baptiste Mispelon <bmispelon@gmail.com> | 2013-04-06 16:04:30 +0200 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2013-04-12 10:17:17 +0200 |
| commit | ab686022f8619b57e7f851fb2ce8617583d70d8d (patch) | |
| tree | 97202e9ca850b39fc279e99a02a0be00e6962da6 /docs | |
| parent | 0f99246b6f4e7d08600c19fbbeb8feb1a335f985 (diff) | |
Fixed #20211: Document backwards-incompatible change in BoundField.label_tag
Also cleaned up label escaping and consolidated the test suite regarding
label_tag.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/1.5.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/releases/1.5.txt b/docs/releases/1.5.txt index d6ded36a94..c54373ee41 100644 --- a/docs/releases/1.5.txt +++ b/docs/releases/1.5.txt @@ -696,6 +696,10 @@ Miscellaneous longer. If you're using ``django.contrib.redirects``, make sure :setting:`INSTALLED_APPS` contains ``django.contrib.sites``. +* :meth:`BoundField.label_tag <django.forms.BoundField.label_tag>` now + escapes its ``contents`` argument. To avoid the HTML escaping, use + :func:`django.utils.safestring.mark_safe` on the argument before passing it. + Features deprecated in 1.5 ========================== |
