diff options
| author | Tim Graham <timograham@gmail.com> | 2014-09-06 10:07:34 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-09-06 10:07:34 -0400 |
| commit | 0e4d79c4f0591da3d2b0cf030cb8a79abe482345 (patch) | |
| tree | d17ff2e9578f31609791cacead1979399b934092 | |
| parent | 0a2bc6e6bd29ccfbed86c58835c68c349c5a6757 (diff) | |
Fixed #22882 -- Fixed a UnicodeDecodeError in flush.
Thanks djbaldey for the report.
| -rw-r--r-- | django/core/management/commands/flush.py | 2 | ||||
| -rw-r--r-- | docs/releases/1.7.1.txt | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/django/core/management/commands/flush.py b/django/core/management/commands/flush.py index 22c6f5e56e..02f558b31d 100644 --- a/django/core/management/commands/flush.py +++ b/django/core/management/commands/flush.py @@ -1,3 +1,5 @@ +from __future__ import unicode_literals + import sys from importlib import import_module diff --git a/docs/releases/1.7.1.txt b/docs/releases/1.7.1.txt index 9b36ee71ba..64a673f5a6 100644 --- a/docs/releases/1.7.1.txt +++ b/docs/releases/1.7.1.txt @@ -10,3 +10,6 @@ Bugfixes ======== * Replace with actual issue (:ticket:`00000`). + +* Fixed a ``UnicodeDecodeError`` when the ``flush`` error message contained + Unicode characters (:ticket:`22882`). |
