From bfbe4dfff749c27cda528bf632f8dda28a48e774 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Sat, 31 Mar 2012 12:54:40 +0000 Subject: [PATCH] Removed deprecated CompatCookie. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17843 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/http/__init__.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/django/http/__init__.py b/django/http/__init__.py index 2f3392f449..577f1d8170 100644 --- a/django/http/__init__.py +++ b/django/http/__init__.py @@ -76,11 +76,6 @@ else: dict.__setitem__(self, key, Cookie.Morsel()) -class CompatCookie(SimpleCookie): - def __init__(self, *args, **kwargs): - super(CompatCookie, self).__init__(*args, **kwargs) - warnings.warn("CompatCookie is deprecated. Use django.http.SimpleCookie instead.", DeprecationWarning) - from django.conf import settings from django.core import signing from django.core.exceptions import ImproperlyConfigured