More information in field length validation error (newforms)
|Reported by:||Owned by:||Adrian Holovaty|
|Severity:||Keywords:||newforms, max_length, min_length, validation|
|Cc:||Triage Stage:||Ready for checkin|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
If the length of the entered text is more than max_length, django says:
Ensure this value has at most 3000 characters.
It would be nice for the user to know how many characters in the text. Please see the patch attached below:
Ensure this value has at most 3000 characters (it has 4112).
Change History (6)
comment:1 Changed 9 years ago by
|Patch needs improvement:||unset|
|Triage Stage:||Unreviewed → Ready for checkin|