summaryrefslogtreecommitdiff
path: root/django/core
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2014-09-06 10:07:34 -0400
committerTim Graham <timograham@gmail.com>2014-09-06 10:07:34 -0400
commit0e4d79c4f0591da3d2b0cf030cb8a79abe482345 (patch)
treed17ff2e9578f31609791cacead1979399b934092 /django/core
parent0a2bc6e6bd29ccfbed86c58835c68c349c5a6757 (diff)
Fixed #22882 -- Fixed a UnicodeDecodeError in flush.
Thanks djbaldey for the report.
Diffstat (limited to 'django/core')
-rw-r--r--django/core/management/commands/flush.py2
1 files changed, 2 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