Commit bfbe4dff authored by Aymeric Augustin's avatar Aymeric Augustin
Browse files

Removed deprecated CompatCookie.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@17843 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent d3869079
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -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