Opened 16 years ago

Closed 16 years ago

#8722 closed (invalid)

tutorial

Reported by: berber Owned by: nobody
Component: Uncategorized 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

Hi

I'm new to djungo.
I was following the instructions of the tutorial at : http://www.djangoproject.com/documentation/0.96/tutorial01/
I got an error : "got an unexpected keyword argument 'max_length'"

After looking in Google i found a place that said to change to maxlength instead of max_length and indeed the
problem was fixed.

you may want to update the article.
You may also want to add a link to download the mysql related component that needs to be installed so that Django can talk to mysql.

Another thing I found was :

python manage.py sqlinitialdata polls
This action has been renamed. Try './manage.py sqlcustom polls'.

Change History (1)

comment:1 by Malcolm Tredinnick, 16 years ago

Resolution: invalid
Status: newclosed

Sounds like you are using a subversion checkout of Django with the 0.96 tutorial, or vice-versa. The tutorial you reference does not refer to the max_length parameter, since that was introduced after 0.96. Similarly, sqlinitial did exist in 0.96 and was changed afterwards.

Note: See TracTickets for help on using tickets.
Back to Top