summaryrefslogtreecommitdiff
path: root/django/utils/copycompat.py
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@polyconseil.fr>2012-05-03 15:27:01 +0200
committerAymeric Augustin <aymeric.augustin@polyconseil.fr>2012-05-03 15:27:01 +0200
commite84f79f05113f546810c1908c7baef99fb1e874a (patch)
tree4cb5f3e428caa894bd9acc06fc3cd6250b018715 /django/utils/copycompat.py
parent227cec686e512412f613c3d14743b85445765d92 (diff)
Fixed #18042 -- Advanced deprecation warnings.
Thanks Ramiro for the patch.
Diffstat (limited to 'django/utils/copycompat.py')
-rw-r--r--django/utils/copycompat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/utils/copycompat.py b/django/utils/copycompat.py
index bd1a761f8a..6ccf6c3ae5 100644
--- a/django/utils/copycompat.py
+++ b/django/utils/copycompat.py
@@ -7,7 +7,7 @@ import types
import warnings
warnings.warn("django.utils.copycompat is deprecated; use the native copy module instead",
- PendingDeprecationWarning)
+ DeprecationWarning)
# Monkeypatch copy's deepcopy registry to handle functions correctly.
if (hasattr(copy, '_deepcopy_dispatch') and types.FunctionType not in copy._deepcopy_dispatch):