Opened 15 years ago
Closed 15 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: | no | UI/UX: | no |
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 by , 15 years ago
comment:2 by , 15 years ago
Resolution: | → wontfix |
---|---|
Status: | new → 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.
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).