diff options
| author | Florian Apolloner <florian@apolloner.eu> | 2012-07-07 15:29:20 +0200 |
|---|---|---|
| committer | Florian Apolloner <florian@apolloner.eu> | 2012-07-07 15:29:20 +0200 |
| commit | 52a9e15794ac050afb17837a34407722e7249854 (patch) | |
| tree | 678592de0bfdd71ea76d47f7a262fddebb9d1c5c /docs/ref/forms | |
| parent | 8dafd04c45a66ff60f0503da1ebea14628322b45 (diff) | |
Fixed a regression in the user admin page introduced in a92e7f37c4ae84b6b8d8016cc6783211e9047219.
a92e7f37c4ae84b6b8d8016cc6783211e9047219 switched most of the internal stuff
to format_html. Using format_html in the `render` method of
`ReadOnlyPasswordHashWidget` caused it to generate `SafeString` instances.
Later these safe strings where returned from `BoundField.__unicode__` which
caused force_unicode to loose the "safe" information. This commit fixes that by
ensuring that the render method returns `SafeUnicode` instead of `SafeString`.
Diffstat (limited to 'docs/ref/forms')
0 files changed, 0 insertions, 0 deletions
