mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-02-02 20:54:42 +03:00
Straight import is enough.
This commit is contained in:
parent
22b1411f41
commit
cf51dcc9bb
|
@ -34,7 +34,7 @@ from six import BytesIO
|
||||||
try:
|
try:
|
||||||
from urllib import parse as urlparse
|
from urllib import parse as urlparse
|
||||||
except ImportError:
|
except ImportError:
|
||||||
import urlparse as urlparse
|
import urlparse
|
||||||
|
|
||||||
|
|
||||||
# Try to import PIL in either of the two ways it can end up installed.
|
# Try to import PIL in either of the two ways it can end up installed.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user