summaryrefslogtreecommitdiff
path: root/django/utils/maxlength.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/utils/maxlength.py')
-rw-r--r--django/utils/maxlength.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/utils/maxlength.py b/django/utils/maxlength.py
index 9216fe1c3a..1df6a3e93e 100644
--- a/django/utils/maxlength.py
+++ b/django/utils/maxlength.py
@@ -21,7 +21,7 @@ def legacy_maxlength(max_length, maxlength):
"""
if maxlength is not None:
warn("maxlength is deprecated, use max_length instead.",
- PendingDeprecationWarning,
+ DeprecationWarning,
stacklevel=3)
if max_length is not None:
raise TypeError("field can not take both the max_length"