mirror of https://github.com/django/django.git
Updated all PendingDeprecationWarning from 1.1 to DeprecationWarning ready for 1.2
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11791 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
78ad0a61a9
commit
86fcb25749
|
@ -452,7 +452,7 @@ class AdminSite(object):
|
|||
import warnings
|
||||
warnings.warn(
|
||||
"AdminSite.root() is deprecated; use include(admin.site.urls) instead.",
|
||||
PendingDeprecationWarning
|
||||
DeprecationWarning
|
||||
)
|
||||
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue