diff --git a/tutorial04.rst b/tutorial04.rst index c70a200..f736674 100644 --- a/tutorial04.rst +++ b/tutorial04.rst @@ -542,7 +542,7 @@ So: And:: - self.assertIn(choice3.choice, response.content) + self.assertIn(choice1.choice, response.content) AssertionError: 'PM' not found in '\n \n

Poll Results

\n\n

6 times 7

\n

No-one has voted on this poll yet

\n \n\n\n' @@ -568,7 +568,7 @@ So, in ``polls/templates/poll.html``: And re-running the tests - oh, a surprise!:: - self.assertIn(choice4.choice, response.content) + self.assertIn(choice2.choice, response.content) AssertionError: "Gardener's" not found in '\n \n

Poll Results

\n \n

time

\n\n

No-one has voted on this poll yet

\n\n

Add your vote

\n

\n\n \n \n\n' Django has converted an apostrophe (``'``) into an html-compliant ``'`` for