urlparse not used here.

This commit is contained in:
Xavier Ordoquy 2013-01-02 18:54:55 +01:00
parent 92f1109cd8
commit 45d48dd52f

View File

@ -22,10 +22,6 @@ from django.utils.translation import ugettext_lazy as _
from rest_framework.compat import parse_date, parse_datetime from rest_framework.compat import parse_date, parse_datetime
from rest_framework.compat import timezone from rest_framework.compat import timezone
from rest_framework.compat import BytesIO from rest_framework.compat import BytesIO
try:
from urllib.parse import urlparse
except ImportError:
from urlparse import urlparse
def is_simple_callable(obj): def is_simple_callable(obj):