summaryrefslogtreecommitdiff
path: root/docs/intro/tutorial05.txt
diff options
context:
space:
mode:
authorvagrant <vagrant@precise32.(none)>2014-06-15 10:44:33 +0000
committervagrant <vagrant@precise32.(none)>2014-06-15 10:44:33 +0000
commit7a1f8414c3b71b6af03e5be9f5f8db115551c410 (patch)
tree502b980c2f1680d127a4237c6d58901a22324682 /docs/intro/tutorial05.txt
parentdd57b89fcb8f009fc73f16efea9539e5888eb59d (diff)
Fixed #22842
Diffstat (limited to 'docs/intro/tutorial05.txt')
-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 5f879c56a9..a2b1ba1f0f 100644
--- a/docs/intro/tutorial05.txt
+++ b/docs/intro/tutorial05.txt
@@ -246,7 +246,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::