aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/compat.py
diff options
context:
space:
mode:
authorXavier Ordoquy2012-11-23 01:12:33 +0100
committerXavier Ordoquy2012-11-23 01:12:33 +0100
commite348ee92552aab51290dfe6b256ad03b8d62e6f9 (patch)
tree05133c0020290b9f607869cfa7ded1bcb384413e /rest_framework/compat.py
parentb68263fb652172c5dd74bb7a1c99f0c1230d76bc (diff)
downloaddjango-rest-framework-e348ee92552aab51290dfe6b256ad03b8d62e6f9.tar.bz2
52 tests passing. Refactored a few string / byte io.
Diffstat (limited to 'rest_framework/compat.py')
-rw-r--r--rest_framework/compat.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/rest_framework/compat.py b/rest_framework/compat.py
index 8c7617c1..6ffada48 100644
--- a/rest_framework/compat.py
+++ b/rest_framework/compat.py
@@ -21,6 +21,8 @@ try:
except ImportError:
from six import StringIO
+from six import BytesIO
+
def get_concrete_model(model_cls):
try: