From 7342784b99a45cf661fd23f3ffd52eb02ce5cf3a Mon Sep 17 00:00:00 2001 From: vagrant Date: Sun, 15 Jun 2014 10:44:33 +0000 Subject: [1.5.x] Fixed #22842 Backport of 7a1f8414c3b71b6af03e5be9f5f8db115551c410 from master. --- docs/intro/tutorial05.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/intro/tutorial05.txt') diff --git a/docs/intro/tutorial05.txt b/docs/intro/tutorial05.txt index 23c9856bed..9c72056488 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:: -- cgit v1.3