CharField should raise an exception when maxlength is not specified
|Reported by:||Steadicat||Owned by:||Adrian Holovaty|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
"maxlength" is a required keyword argument for a CharField, yet no error is raised if the argument is not provided.
The error produces its effect much later when the SQL code containing "varchar(None)" fails.
It would be better for CharField to raise an exception immediately, so as to simplify debugging.