Browse files

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
  • Loading branch information...
1 parent 78ad0a6 commit 86fcb25749ffe05840fd0e119d3342fe9bac00ff @spookylukey spookylukey committed Dec 3, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/contrib/admin/sites.py
View
2 django/contrib/admin/sites.py
@@ -452,7 +452,7 @@ def root(self, request, url):
import warnings
warnings.warn(
"AdminSite.root() is deprecated; use include(admin.site.urls) instead.",
- PendingDeprecationWarning
+ DeprecationWarning
)
#

0 comments on commit 86fcb25

Please sign in to comment.