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::