Opened 18 years ago
Closed 18 years ago
#4811 closed (duplicate)
Different name conventions for models and newforms
Description ¶
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.
Note:
See TracTickets
for help on using tickets.
dup of #2101.