mirror of
https://github.com/django/django.git
synced 2025-09-26 20:19:16 +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:
parent
8db51a70da
commit
1d4390b26b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue