aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/compat.py
diff options
context:
space:
mode:
authorRyan Gaffney2015-01-06 14:34:36 -0800
committerRyan Gaffney2015-01-06 14:34:36 -0800
commit07ad0474c0cef8f8e88d299eca9dffbe6d01c10d (patch)
tree65daf160ccba83452fbce1732fb5dd2d4930aee2 /rest_framework/compat.py
parent271b638df10c0cf498cbc69847f388e978c4da78 (diff)
downloaddjango-rest-framework-07ad0474c0cef8f8e88d299eca9dffbe6d01c10d.tar.bz2
Fix compatibility comment regarding OrderedDict
Diffstat (limited to 'rest_framework/compat.py')
-rw-r--r--rest_framework/compat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/compat.py b/rest_framework/compat.py
index ba26a3cd..b1f6f2fa 100644
--- a/rest_framework/compat.py
+++ b/rest_framework/compat.py
@@ -36,7 +36,7 @@ def unicode_to_repr(value):
# OrderedDict only available in Python 2.7.
# This will always be the case in Django 1.7 and above, as these versions
# 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:
from collections import OrderedDict
except ImportError: