Opened 8 years ago

Closed 8 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:


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.

Rich Walsh

Change History (2)

comment:1 Changed 8 years ago by rwalsh

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


comment:2 Changed 8 years ago by Russell Keith-Magee

Resolution: wontfix
Status: newclosed

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

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