summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorvagrant <vagrant@precise32.(none)>2014-06-15 10:44:33 +0000
committerBaptiste Mispelon <bmispelon@gmail.com>2014-06-15 21:11:36 +0200
commitb0e5a527dbd2f242fa59fa8f40b7f2de4d55d57a (patch)
tree44ef65fc32af8f650087b4e13e98cd5628f41da5 /docs
parent26983c4c6414f00a2bcf364436ecce0f5e73851d (diff)
[1.6.x] Fixed #22842
Backport of 7a1f8414c3b71b6af03e5be9f5f8db115551c410 from master.
Diffstat (limited to 'docs')
-rw-r--r--docs/intro/tutorial05.txt2
1 files changed, 1 insertions, 1 deletions
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::