diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2012-04-29 19:58:00 +0200 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2012-04-29 19:58:00 +0200 |
| commit | cec6bd5a59547dc97fe98975c570fc27a1e970be (patch) | |
| tree | d084ff2008e4bba125c4b28297d6469992f2ec95 /docs/releases | |
| parent | ee0a7c741e98214bac7eeb60b848cf099ff28836 (diff) | |
Fixed #18023 -- Removed bundled simplejson.
And started the deprecation path for django.utils.simplejson.
Thanks Alex Ogier, Clueless, and other contributors for their
work on the patch.
Diffstat (limited to 'docs/releases')
| -rw-r--r-- | docs/releases/1.5.txt | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/docs/releases/1.5.txt b/docs/releases/1.5.txt index dcf050f2ae..4f6b05f8f4 100644 --- a/docs/releases/1.5.txt +++ b/docs/releases/1.5.txt @@ -58,8 +58,17 @@ Backwards incompatible changes in 1.5 Features deprecated in 1.5 ========================== -itercompat.product -~~~~~~~~~~~~~~~~~~ +``django.utils.simplejson`` +~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Since Django 1.5 drops support for Python 2.5, all supported versions of +Python provide the :mod:`json` module in their standard library. This module +is actually a version of ``simplejson`` distributed by Python, so Django no +longer needs to provide a copy. Any use of :mod:`django.utils.simplejson` can +be safely changed to :mod:`json`. + +``itercompat.product`` +~~~~~~~~~~~~~~~~~~~~~~ The :func:`~django.utils.itercompat.product` function has been deprecated. Use the builtin `itertools.product` instead. |
