diff options
| author | Luke Plant <L.Plant.98@cantab.net> | 2011-01-24 20:35:46 +0000 |
|---|---|---|
| committer | Luke Plant <L.Plant.98@cantab.net> | 2011-01-24 20:35:46 +0000 |
| commit | 42c31f6bf036efd93c0311bc1f524b1553c20489 (patch) | |
| tree | 1c3a2d35175278c33d969c4cb8ff89ea32823f1c /docs | |
| parent | 09a63632c5072695d3b3293a046c197ea3c3299a (diff) | |
Rationalised CompatCookie/SimpleCookie into single SimpleCookie class with all fixes.
Since upstream Python has fixed the encoding bug (see
http://bugs.python.org/issue9824), we don't want a separate class for this
bug fix, or several layers for the different fixes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15298 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/internals/deprecation.txt | 3 | ||||
| -rw-r--r-- | docs/releases/1.3.txt | 8 |
2 files changed, 11 insertions, 0 deletions
diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt index 4613b7e3ee..9bb0289c68 100644 --- a/docs/internals/deprecation.txt +++ b/docs/internals/deprecation.txt @@ -155,6 +155,9 @@ their deprecation, as per the :ref:`Django deprecation policy a :class:`~django.contrib.gis.geos.GEOSException` when called on a geometry with no SRID value. + * :class:`~django.http.CompatCookie` will be removed in favour of + :class:`~django.http.SimpleCookie`. + * 2.0 * ``django.views.defaults.shortcut()``. This function has been moved to ``django.contrib.contenttypes.views.shortcut()`` as part of the diff --git a/docs/releases/1.3.txt b/docs/releases/1.3.txt index 1904e9526d..89e8b58585 100644 --- a/docs/releases/1.3.txt +++ b/docs/releases/1.3.txt @@ -609,3 +609,11 @@ Previously this field's ``clean()`` method accepted a second, gender, argument which allowed stronger validation checks to be made, however since this argument could never actually be passed from the Django form machinery it is now pending deprecation. + +``CompatCookie`` +~~~~~~~~~~~~~~~~ + +Previously, ``django.http`` exposed an undocumented ``CompatCookie`` class, +which was a bug-fix wrapper around the standard library ``SimpleCookie``. As the +fixes are moving upstream, this is now deprecated - you should use ``from +django.http import SimpleCookie`` instead. |
