aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/relations.py
diff options
context:
space:
mode:
authorTymur Maryokhin2014-12-04 15:47:42 +0100
committerTymur Maryokhin2014-12-04 15:47:42 +0100
commit95af92ca01435c32f4374d26eb448f964d77c81a (patch)
tree7d2711f462f3c451d1afd779505c36d7020b2686 /rest_framework/relations.py
parentd54c67d79d0f5661ef33d860efe80a4272e22b3e (diff)
downloaddjango-rest-framework-95af92ca01435c32f4374d26eb448f964d77c81a.tar.bz2
Removed custom urlparse compat
Diffstat (limited to 'rest_framework/relations.py')
-rw-r--r--rest_framework/relations.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/relations.py b/rest_framework/relations.py
index b889acc8..d0cd3154 100644
--- a/rest_framework/relations.py
+++ b/rest_framework/relations.py
@@ -1,5 +1,4 @@
from django.utils.encoding import smart_text
-from rest_framework.compat import urlparse
from rest_framework.fields import get_attribute, empty, Field
from rest_framework.reverse import reverse
from rest_framework.utils import html
@@ -7,6 +6,7 @@ from django.core.exceptions import ObjectDoesNotExist, ImproperlyConfigured
from django.core.urlresolvers import resolve, get_script_prefix, NoReverseMatch, Resolver404
from django.db.models.query import QuerySet
from django.utils import six
+from django.utils.six.moves.urllib import parse as urlparse
from django.utils.translation import ugettext_lazy as _