From b0e5a527dbd2f242fa59fa8f40b7f2de4d55d57a Mon Sep 17 00:00:00 2001 From: vagrant Date: Sun, 15 Jun 2014 10:44:33 +0000 Subject: [PATCH] [1.6.x] Fixed #22842 Backport of 7a1f8414c3b71b6af03e5be9f5f8db115551c410 from master. --- docs/intro/tutorial05.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/intro/tutorial05.txt b/docs/intro/tutorial05.txt index 2eb8b53e56..8043f4987b 100644 --- a/docs/intro/tutorial05.txt +++ b/docs/intro/tutorial05.txt @@ -239,7 +239,7 @@ past:: def was_published_recently(self): now = timezone.now() - return now - datetime.timedelta(days=1) <= self.pub_date < now + return now - datetime.timedelta(days=1) <= self.pub_date <= now and run the test again::