misleading part/info in wrong context in poll tutorial part 1
|Reported by:||fetzig||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
If unicode() doesn't seem to work
If you add the unicode() method to your models and don't see any change in how they're represented, you're most likely using an old version of Django. (This version of the tutorial is written for the latest development version of Django.) If you're using a Subversion checkout of Django's development version (see the installation docs for more information), you shouldn't have any problems.
This section tells you to make a django update if nothing changes. But this will happen anyway. Need to call
python manage.py shell
Before the model updates in the shell, or maybe just execute
from mysite.polls.models import Poll, Choice
...don't know exactly.
- Move this info down (where the shell is started again)
- Add a sentence to the info: "You have to exit (Ctrl-d) and start again ("python manage.py shell") before this changes are active."
Would prefer 2, but that's up to you guys.
Whatever, this tutorial is very very very accurate and easy to follow. But this part was a little bit misleading. So I thought I make a ticket.