[1.7.x] Fixed #23888 -- Fixed crash in File.__repr__() when name contains unicode.

Backport of 1e9ac504e4 from master
This commit is contained in:
Sergey Fedoseev 2014-11-21 19:26:46 +05:00 committed by Tim Graham
parent 014f699c8b
commit 78fe7ec14f
3 changed files with 12 additions and 9 deletions

View file

@ -77,3 +77,6 @@ Bugfixes
* Fixed a crash in migrations when deleting a field that is part of a
``index/unique_together`` constraint (:ticket:`23794`).
* Fixed ``django.core.files.File.__repr__()`` when the file's ``name`` contains
Unicode characters (:ticket:`23888`).