Opened 17 years ago
Closed 17 years ago
#5184 closed (duplicate)
in mysite/polls/models.py, manage.py syncdb we get max_lenght gives error but maxlenght woks ok
Reported by: | Owned by: | Jacob | |
---|---|---|---|
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
following the tutorial that gets you started with django
the step where you create/fill/edit mysite/polls/models.py
the attributes of the the charfields "max_length" caused an error that's it's (if i remember correctly) unkown attribute when i ran manage.py syncdb
but when i changed in mysite/polls/models.py the max_length to maxlenght the manage.py syncdb worked ok and tables were created without errors
regards,
asel
i am working on windows xp home, with python25, and django 0.96
Note:
See TracTickets
for help on using tickets.
The docs are for the SVN version, not 0.96. maxlength was changed to max_length (backwards-compatible) in [5803]. See also ticket #2101. Duplicate of #5119, #5159, #5162.