aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/compat.py
diff options
context:
space:
mode:
authorTom Christie2012-09-27 13:08:57 +0100
committerTom Christie2012-09-27 13:08:57 +0100
commitd2583b809c15f4c888c25380e17b7de8c24b6baa (patch)
treeb13d5a99a9727a03b9144bbe3320a1734a380747 /rest_framework/compat.py
parent89a0b223067cd0bb10d5e309f5fb5d0237a069a7 (diff)
downloaddjango-rest-framework-d2583b809c15f4c888c25380e17b7de8c24b6baa.tar.bz2
Remove parse_qs from compat, now py2.5 support is dropped
Diffstat (limited to 'rest_framework/compat.py')
-rw-r--r--rest_framework/compat.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/rest_framework/compat.py b/rest_framework/compat.py
index ef713ed8..0de7525b 100644
--- a/rest_framework/compat.py
+++ b/rest_framework/compat.py
@@ -10,15 +10,6 @@ except ImportError:
import StringIO
-# parse_qs from 'urlparse' module unless python 2.5, in which case from 'cgi'
-try:
- # python >= 2.6
- from urlparse import parse_qs
-except ImportError:
- # python < 2.6
- from cgi import parse_qs
-
-
# django.views.generic.View (Django >= 1.3)
try:
from django.views.generic import View