diff options
| author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2009-01-16 08:59:02 +0000 |
|---|---|---|
| committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2009-01-16 08:59:02 +0000 |
| commit | 14b3f03015081a679a6b5efaf5ea925344ce14c0 (patch) | |
| tree | 75507bb7f3c4f4c53bf483bd3bf0426649f1ff6e /docs | |
| parent | 344f16e2205a4959ba65d975716a38db77d2061e (diff) | |
Fixed #10014 -- Don't crash when using debug template tag inside a block node tag.
Returning non-ASCII characters from TextNode.__repr__ was causing
problems in the BlockNode.__repr__ method (and probably in other places
we don't know about yet). We now forcibly convert to ascii and replace any
unconvertible characters, rather than returning some moderately
corrupted data in the non-ASCII case.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9757 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
