1
0
mirror of https://github.com/django/django.git synced 2025-02-28 19:44:35 +00:00

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

View File

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