aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/compat.py
diff options
context:
space:
mode:
authorXavier Ordoquy2013-01-03 10:48:43 +0100
committerXavier Ordoquy2013-01-03 10:48:43 +0100
commitcf51dcc9bb409fb985d5aa09c426d1ed33f6e9b4 (patch)
treecd0815b247c4e7e5c45bb10e952aa0a6bea6b2f5 /rest_framework/compat.py
parent22b1411f413fdfee6e654d1578db69df3c300602 (diff)
downloaddjango-rest-framework-cf51dcc9bb409fb985d5aa09c426d1ed33f6e9b4.tar.bz2
Straight import is enough.
Diffstat (limited to 'rest_framework/compat.py')
-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.