summaryrefslogtreecommitdiff
path: root/docs/intro/tutorial01.txt
diff options
context:
space:
mode:
authorAlasdair Nicol <alasdair@thenicols.net>2014-02-09 11:38:13 +0000
committerTim Graham <timograham@gmail.com>2014-02-13 07:12:40 -0500
commit8aa1efff6d6cb1589a1977f3e68f4c26eb6adc74 (patch)
treed75b3a6366e036dcf72313b65b165c8189421812 /docs/intro/tutorial01.txt
parentc3434fed5bb223b2765a85f88053d42b70d81ad9 (diff)
Fixed #21951 -- Updated docs to use __str__ for Python 3
Thanks Tim Graham for the report and recommendations
Diffstat (limited to 'docs/intro/tutorial01.txt')
-rw-r--r--docs/intro/tutorial01.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/intro/tutorial01.txt b/docs/intro/tutorial01.txt
index 16b2596da9..bc050c535d 100644
--- a/docs/intro/tutorial01.txt
+++ b/docs/intro/tutorial01.txt
@@ -727,7 +727,7 @@ Save these changes and start a new Python interactive shell by running
>>> from polls.models import Question, Choice
- # Make sure our __unicode__() addition worked.
+ # Make sure our __str__() addition worked.
>>> Question.objects.all()
[<Question: What's up?>]