Opened 17 years ago
Closed 17 years ago
#9288 closed (invalid)
Online docs example contains deprecated maxlength keyword
| Reported by: | xqp | Owned by: | nobody |
|---|---|---|---|
| Component: | Documentation | Version: | 1.0 |
| Severity: | Keywords: | maxlength max_length | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges says:
Removed several deprecated features for 1.0
In [8191], several deprecated features were removed:
[...]
* The maxlength argument for model fields was removed, use max_length instead.
The Article class example in the Removed LazyDate section on this page makes two
references to "maxlength". These should be changed to "max_length" as stated above.
Change History (2)
comment:1 by , 17 years ago
comment:2 by , 17 years ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
The two references to maxlength refer to a version of Django where maxlength was still the correct form for the argument.