Code

Opened 6 years ago

Closed 6 years ago

#8722 closed (invalid)

tutorial

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

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'.

Attachments (0)

Change History (1)

comment:1 Changed 6 years ago by mtredinnick

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

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.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.