mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Deprecated SortedDict (replaced with collections.OrderedDict)
Thanks Loic Bistuer for the review.
This commit is contained in:
parent
b278f7478d
commit
07876cf02b
26 changed files with 139 additions and 107 deletions
|
@ -105,6 +105,10 @@ to distinguish caches by the ``Accept-language`` header.
|
|||
|
||||
.. 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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue