Fix compatibility comment regarding OrderedDict

This commit is contained in:
Ryan Gaffney 2015-01-06 14:34:36 -08:00
parent 271b638df1
commit 07ad0474c0

View File

@ -36,7 +36,7 @@ def unicode_to_repr(value):
# OrderedDict only available in Python 2.7. # OrderedDict only available in Python 2.7.
# This will always be the case in Django 1.7 and above, as these versions # This will always be the case in Django 1.7 and above, as these versions
# no longer support Python 2.6. # no longer support Python 2.6.
# For Django <= 1.6 and Python 2.6 fall back to OrderedDict. # For Django <= 1.6 and Python 2.6 fall back to SortedDict.
try: try:
from collections import OrderedDict from collections import OrderedDict
except ImportError: except ImportError: