diff options
| author | vagrant <vagrant@precise32.(none)> | 2014-06-15 10:44:33 +0000 |
|---|---|---|
| committer | Baptiste Mispelon <bmispelon@gmail.com> | 2014-06-15 21:11:36 +0200 |
| commit | b0e5a527dbd2f242fa59fa8f40b7f2de4d55d57a (patch) | |
| tree | 44ef65fc32af8f650087b4e13e98cd5628f41da5 /docs/intro/tutorial05.txt | |
| parent | 26983c4c6414f00a2bcf364436ecce0f5e73851d (diff) | |
[1.6.x] Fixed #22842
Backport of 7a1f8414c3b71b6af03e5be9f5f8db115551c410 from master.
Diffstat (limited to 'docs/intro/tutorial05.txt')
| -rw-r--r-- | docs/intro/tutorial05.txt | 2 |
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:: |
