Opened 5 years ago

Closed 5 years ago

#13063 closed (wontfix)

Documentation Clarification - Django 1.1.1 Tutorial Part 1 and __unicode__ methods

Reported by: rwalsh Owned by: nobody
Component: Documentation Version: 1.1
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 was going through part 1 of the 'Writing your first Django app' tutorial and in the part where you are asked to add unicode() methods to the Polls application data model, the tutorial does not tell you to do another syncdb which is what I needed to do in order for the Poll.objects.all() command to work correctly in the Python interpreter. (I'm using a Mac running Snow Leopard and Python 2.6.4.)

My specific concern in this regard is that the tutorial immediately goes into a note about what to do if the method addition does not seem to work which will likely lead people down wrong paths.

Regards,
Rich Walsh

Change History (2)

comment:1 Changed 5 years ago by rwalsh

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

Sorry...I probably just needed to stop and then restart the interactive shell (which I had also done) in order for the new methods to be recognized after they were added and saved in the source file. In any case, the current documentation is still unclear (at least to me).

Rich

comment:2 Changed 5 years ago by russellm

  • Resolution set to wontfix
  • Status changed from new to closed

The docs specifically say "Save these changes and start a new Python interactive shell by running python manage.py shell again", just after the instructions to add the unicode method.

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