aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rest_framework/compat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/compat.py b/rest_framework/compat.py
index 42ad9e93..9b38c208 100644
--- a/rest_framework/compat.py
+++ b/rest_framework/compat.py
@@ -34,7 +34,7 @@ from six import BytesIO
try:
from urllib import parse as urlparse
except ImportError:
- import urlparse as urlparse
+ import urlparse
# Try to import PIL in either of the two ways it can end up installed.