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:25:44 +0200 |
| commit | 9c49e64b66994ff25980d9d0d21ce3599b17cc4b (patch) | |
| tree | 98ac465005a018d5630f0225477c539eb9208c27 /docs | |
| parent | 991432ee8ab49eca76113f0b6c23e885ea316507 (diff) | |
[1.5.x] Fixed #20211: Document backwards-incompatible change in BoundField.label_tag
Also cleaned up label escaping and consolidated the test suite regarding
label_tag.
Backport of ab686022f from master.
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 7b324db03f..3b82e479a1 100644 --- a/docs/releases/1.5.txt +++ b/docs/releases/1.5.txt @@ -697,6 +697,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 ========================== |
