From 86fcb25749ffe05840fd0e119d3342fe9bac00ff Mon Sep 17 00:00:00 2001 From: Luke Plant Date: Thu, 3 Dec 2009 15:11:14 +0000 Subject: [PATCH] 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 --- django/contrib/admin/sites.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/contrib/admin/sites.py b/django/contrib/admin/sites.py index 52ef57370d..68621e333e 100644 --- a/django/contrib/admin/sites.py +++ b/django/contrib/admin/sites.py @@ -452,7 +452,7 @@ class AdminSite(object): import warnings warnings.warn( "AdminSite.root() is deprecated; use include(admin.site.urls) instead.", - PendingDeprecationWarning + DeprecationWarning ) #