Django

Code

Ticket #5325 (closed: fixed)

Opened 9 months ago

Last modified 3 weeks ago

max_length should be maxlength

Reported by: tine.klancar@delo.si Assigned to: jacob
Component: Documentation Version: SVN
Keywords: Cc:
Triage Stage: Unreviewed Has patch: 0
Needs documentation: 0 Needs tests: 0
Patch needs improvement: 0

Description

when i copy/pasted this line from the documentation and tryed to reset my app i found the following mistake:

gender = models.CharField?(max_length=1, choices=GENDER_CHOICES)

should be

gender = models.CharField?(maxlength=1, choices=GENDER_CHOICES)

Attachments

Change History

09/03/07 08:10:04 changed by russellm

  • status changed from new to closed.
  • needs_better_patch changed.
  • resolution set to invalid.
  • needs_tests changed.
  • needs_docs changed.

The documentation is correct for the current trunk version of Django. The tutorial contains a warning about this change; every documentation page has a header that says that the documentation is for the current trunk, and contains a link to the old 0.96 documentation.

04/26/08 21:50:16 changed by mtredinnick

  • resolution changed from invalid to fixed.

(In [7477]) Merged the queryset-refactor branch into trunk.

This is a big internal change, but mostly backwards compatible with existing code. Also adds a couple of new features.

Fixed #245, #1050, #1656, #1801, #2076, #2091, #2150, #2253, #2306, #2400, #2430, #2482, #2496, #2676, #2737, #2874, #2902, #2939, #3037, #3141, #3288, #3440, #3592, #3739, #4088, #4260, #4289, #4306, #4358, #4464, #4510, #4858, #5012, #5020, #5261, #5295, #5321, #5324, #5325, #5555, #5707, #5796, #5817, #5987, #6018, #6074, #6088, #6154, #6177, #6180, #6203, #6658


Add/Change #5325 (max_length should be maxlength)




Change Properties
Action