From d2583b809c15f4c888c25380e17b7de8c24b6baa Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 27 Sep 2012 13:08:57 +0100 Subject: Remove parse_qs from compat, now py2.5 support is dropped --- rest_framework/compat.py | 9 --------- 1 file changed, 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 -- cgit v1.2.3