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:09:32 -0400 |
| commit | a932c596fc5bfcfcb358981540917c8d6f9dc575 (patch) | |
| tree | d2b27f621d91ce7711c8683792e5334091a8bb25 | |
| parent | d19291e9ad58107825581bd2297398cf8d824fba (diff) | |
[1.7.x] Fixed #22882 -- Fixed a UnicodeDecodeError in flush.
Thanks djbaldey for the report.
Backport of 0e4d79c4f0 from master
| -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 29e3a8ec58..637d6d525b 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 from optparse import make_option 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`). |
