From 8aa1efff6d6cb1589a1977f3e68f4c26eb6adc74 Mon Sep 17 00:00:00 2001 From: Alasdair Nicol Date: Sun, 9 Feb 2014 11:38:13 +0000 Subject: Fixed #21951 -- Updated docs to use __str__ for Python 3 Thanks Tim Graham for the report and recommendations --- docs/intro/tutorial01.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/intro/tutorial01.txt') 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() [] -- cgit v1.3