From ab686022f8619b57e7f851fb2ce8617583d70d8d Mon Sep 17 00:00:00 2001 From: Baptiste Mispelon Date: Sat, 6 Apr 2013 16:04:30 +0200 Subject: [PATCH] Fixed #20211: Document backwards-incompatible change in BoundField.label_tag Also cleaned up label escaping and consolidated the test suite regarding label_tag. --- django/forms/forms.py | 4 ++- docs/releases/1.5.txt | 4 +++ tests/forms_tests/tests/forms.py | 52 +++++++++++++++++++++----------- 3 files changed, 42 insertions(+), 18 deletions(-) diff --git a/django/forms/forms.py b/django/forms/forms.py index 5bc9b2d500..f3a0fe6b38 100644 --- a/django/forms/forms.py +++ b/django/forms/forms.py @@ -519,7 +519,7 @@ class BoundField(object): If attrs are given, they're used as HTML attributes on the