summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2014-11-19 12:22:23 -0500
committerTim Graham <timograham@gmail.com>2015-01-17 08:40:23 -0500
commitc820892eed9ea10879270e64e8109dc44829756a (patch)
tree3edb914f3eeac75acb72bc60a94b991f9b211902 /docs/ref
parent41f0d3d3bc8b0a6831530e1176c6415f9ba45b0b (diff)
Removed django.utils.datastructures.SortedDict per deprecation timeline.
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/utils.txt28
1 files changed, 0 insertions, 28 deletions
diff --git a/docs/ref/utils.txt b/docs/ref/utils.txt
index 55184c277b..d1881bb830 100644
--- a/docs/ref/utils.txt
+++ b/docs/ref/utils.txt
@@ -97,34 +97,6 @@ need to distinguish caches by the ``Accept-language`` header.
cache, this just means that we have to build the response once to get at
the Vary header and so at the list of headers to use for the cache key.
-``django.utils.datastructures``
-===============================
-
-.. module:: django.utils.datastructures
- :synopsis: Data structures that aren't in Python's standard library.
-
-.. class:: SortedDict
-
-.. deprecated:: 1.7
- ``SortedDict`` is deprecated and will be removed in Django 1.9. Use
- :class:`collections.OrderedDict` instead.
-
- The :class:`django.utils.datastructures.SortedDict` class is a dictionary
- that keeps its keys in the order in which they're inserted.
-
-Creating a new SortedDict
--------------------------
-
-Creating a new ``SortedDict`` must be done in a way where ordering is
-guaranteed. For example::
-
- SortedDict({'b': 1, 'a': 2, 'c': 3})
-
-will not work. Passing in a basic Python ``dict`` could produce unreliable
-results. Instead do::
-
- SortedDict([('b', 1), ('a', 2), ('c', 3)])
-
``django.utils.dateparse``
==========================