Opened 8 years ago

Closed 8 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:

Description


Change History (1)

comment:1 Changed 8 years ago by Bernd Schlapsi

Component: UncategorizedDocumentation
Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Resolution: invalid
Status: newclosed

Look at the current documentation for the charfield on: http://www.djangoproject.com/documentation/model-api/#charfield

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