From 42c31f6bf036efd93c0311bc1f524b1553c20489 Mon Sep 17 00:00:00 2001 From: Luke Plant Date: Mon, 24 Jan 2011 20:35:46 +0000 Subject: 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 --- docs/internals/deprecation.txt | 3 +++ docs/releases/1.3.txt | 8 ++++++++ 2 files changed, 11 insertions(+) (limited to 'docs') 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. -- cgit v1.3