From c2598a6f4d3ddaf27e9d6d240e7efe664504d6ad Mon Sep 17 00:00:00 2001 From: Burhanuddin Baharuddin Date: Thu, 19 Apr 2018 17:09:38 +0800 Subject: [PATCH] Clarified wording in tutorial text. --- docs/intro/tutorial05.txt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/intro/tutorial05.txt b/docs/intro/tutorial05.txt index 1f6a53ebee..28b79f6962 100644 --- a/docs/intro/tutorial05.txt +++ b/docs/intro/tutorial05.txt @@ -188,10 +188,9 @@ Put the following in the ``tests.py`` file in the ``polls`` application: future_question = Question(pub_date=time) self.assertIs(future_question.was_published_recently(), False) -What we have done here is created a :class:`django.test.TestCase` subclass -with a method that creates a ``Question`` instance with a ``pub_date`` in the -future. We then check the output of ``was_published_recently()`` - which -*ought* to be False. +Here we have created a :class:`django.test.TestCase` subclass with a method that +creates a ``Question`` instance with a ``pub_date`` in the future. We then check +the output of ``was_published_recently()`` - which *ought* to be False. Running tests -------------