diff options
| author | Aymeric Augustin <aymeric.augustin@polyconseil.fr> | 2012-05-03 15:27:01 +0200 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@polyconseil.fr> | 2012-05-03 15:27:01 +0200 |
| commit | e84f79f05113f546810c1908c7baef99fb1e874a (patch) | |
| tree | 4cb5f3e428caa894bd9acc06fc3cd6250b018715 /django/conf | |
| parent | 227cec686e512412f613c3d14743b85445765d92 (diff) | |
Fixed #18042 -- Advanced deprecation warnings.
Thanks Ramiro for the patch.
Diffstat (limited to 'django/conf')
| -rw-r--r-- | django/conf/__init__.py | 2 | ||||
| -rw-r--r-- | django/conf/urls/defaults.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/django/conf/__init__.py b/django/conf/__init__.py index 6a2485bd4b..531eed8658 100644 --- a/django/conf/__init__.py +++ b/django/conf/__init__.py @@ -181,7 +181,7 @@ def compat_patch_logging_config(logging_config): "handler: adding implicit debug-false-only filter. " "See http://docs.djangoproject.com/en/dev/releases/1.4/" "#request-exceptions-are-now-always-logged", - PendingDeprecationWarning) + DeprecationWarning) filter_name = "require_debug_false" diff --git a/django/conf/urls/defaults.py b/django/conf/urls/defaults.py index 326f05f4ba..7d5c738bad 100644 --- a/django/conf/urls/defaults.py +++ b/django/conf/urls/defaults.py @@ -1,6 +1,6 @@ import warnings warnings.warn("django.conf.urls.defaults is deprecated; use django.conf.urls instead", - PendingDeprecationWarning) + DeprecationWarning) from django.conf.urls import (handler403, handler404, handler500, include, patterns, url) |
