Advanced deprecation on CompatCookie.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15984 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Russell Keith-Magee 2011-04-02 08:40:38 +00:00
parent 8db51a70da
commit 1d4390b26b
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ class CompatCookie(SimpleCookie):
super(CompatCookie, self).__init__(*args, **kwargs)
import warnings
warnings.warn("CompatCookie is deprecated, use django.http.SimpleCookie instead.",
PendingDeprecationWarning)
DeprecationWarning)
from django.utils.datastructures import MultiValueDict, ImmutableList
from django.utils.encoding import smart_str, iri_to_uri, force_unicode