diff options
| author | Xavier Ordoquy | 2013-01-02 18:54:55 +0100 |
|---|---|---|
| committer | Xavier Ordoquy | 2013-01-02 18:54:55 +0100 |
| commit | 45d48dd52fda187cbd631d61bdf1bffa834c6ba2 (patch) | |
| tree | 34773153c0b9aa29cc212ed212f52bafa1739d3e /rest_framework | |
| parent | 92f1109cd826a5f22c377ecc037621f564e7978e (diff) | |
| download | django-rest-framework-45d48dd52fda187cbd631d61bdf1bffa834c6ba2.tar.bz2 | |
urlparse not used here.
Diffstat (limited to 'rest_framework')
| -rw-r--r-- | rest_framework/fields.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/rest_framework/fields.py b/rest_framework/fields.py index 23e2ac44..e59cc9b4 100644 --- a/rest_framework/fields.py +++ b/rest_framework/fields.py @@ -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 timezone from rest_framework.compat import BytesIO -try: - from urllib.parse import urlparse -except ImportError: - from urlparse import urlparse def is_simple_callable(obj): |
