Django

Code

Ticket #8722 (closed: invalid)

Opened 2 years ago

Last modified 2 years ago

tutorial

Reported by: berber Assigned to: nobody
Milestone: Component: Uncategorized
Version: SVN Keywords:
Cc: Triage Stage: Unreviewed
Has patch: 0 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

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

Change History

08/31/08 03:58:21 changed by mtredinnick

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

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/Change #8722 (tutorial)




Change Properties
Action