aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/utils/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'rest_framework/utils/__init__.py')
-rw-r--r--rest_framework/utils/__init__.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/rest_framework/utils/__init__.py b/rest_framework/utils/__init__.py
index 45879353..1603f972 100644
--- a/rest_framework/utils/__init__.py
+++ b/rest_framework/utils/__init__.py
@@ -1,13 +1,7 @@
-
-import six
-
-try:
- from django.utils.encoding import smart_text
-except ImportError:
- from django.utils.encoding import smart_unicode as smart_text
-
from django.utils.xmlutils import SimplerXMLGenerator
from rest_framework.compat import StringIO
+from rest_framework.compat import six
+from rest_framework.compat import smart_text
import re
import xml.etree.ElementTree as ET