Different name conventions for models and newforms
|Reported by:||anonymous||Owned by:||jacob|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
forms.CharField and models.CharField parameter max length is named differently in forms and models models.CharField - maxlength forms.CharField - max_length
This is really bad practice to follow. It looks like other names (both in forms and models) uses _ to separate names.
Hence, max_length must be used in models.
I know it breaks backward compatiblity, but still must be cleaned out.