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:


Change History (1)

comment:1 Changed 8 years ago by Bernd Schlapsi

  • Component changed from Uncategorized to Documentation
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

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