Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 1921554b2bca5de7efe9e52c25a9d16c1cef22f4 1 parent 892b04b
Gary Wilson Jr. gdub authored
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"
Please sign in to comment.
Something went wrong with that request. Please try again.