Skip to content
Browse files

Changed use of `maxlength` to issue a `DeprecationWarning` instead of…

… `PendingDeprecationWarning`, refs #2101.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 892b04b commit 1921554b2bca5de7efe9e52c25a9d16c1cef22f4 @gdub gdub committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/utils/
2 django/utils/
@@ -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,
if max_length is not None:
raise TypeError("field can not take both the max_length"

0 comments on commit 1921554

Please sign in to comment.
Something went wrong with that request. Please try again.