Opened 10 years ago

Closed 10 years ago

#7007 closed (invalid)

Tutorial incorrectly uses max_lenght for CharField instead of maxlength

Reported by: yesdi123 Owned by: nobody
Component: Documentation Version: master
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


Change History (1)

comment:1 Changed 10 years ago by Bernd Schlapsi

Component: UncategorizedDocumentation
Resolution: invalid
Status: newclosed

Look at the current documentation for the charfield on:

Django veterans: Note that the argument is now called max_length to provide consistency throughout Django. There is full legacy support for the old maxlength argument, but max_length is preferred.
Note: See TracTickets for help on using tickets.
Back to Top