mirror of https://github.com/django/django.git
Removed deprecated CompatCookie.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17843 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
d38690796c
commit
bfbe4dfff7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue