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:
parent
8db51a70da
commit
1d4390b26b
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue