mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Fixed #16155 -- Removed Python 2.4 compatibility constructs from code and mentions from docs. Thanks Aymeric Augustin for the report and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16349 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
3
django/core/cache/__init__.py
vendored
3
django/core/cache/__init__.py
vendored
@@ -29,8 +29,7 @@ except ImportError:
|
||||
# Python 2.6 and greater
|
||||
from urlparse import parse_qsl
|
||||
except ImportError:
|
||||
# Python 2.5, 2.4. Works on Python 2.6 but raises
|
||||
# PendingDeprecationWarning
|
||||
# Python 2.5. Works on Python 2.6 but raises PendingDeprecationWarning
|
||||
from cgi import parse_qsl
|
||||
|
||||
__all__ = [
|
||||
|
||||
Reference in New Issue
Block a user