Opened 19 years ago

Closed 19 years ago

#7007 closed (invalid)

Tutorial incorrectly uses max_lenght for CharField instead of maxlength

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

Description


Change History (1)

comment:1 by Bernd Schlapsi, 19 years ago

Component: Uncategorized → Documentation
Resolution: → invalid
Status: new → closed

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