Corrected an explanation in tutorial 5.

This commit is contained in:
Christoph Zwerschke 2018-01-29 15:25:23 +01:00 committed by Tim Graham
parent e6f0e324e2
commit d4bbd3f418
1 changed files with 2 additions and 2 deletions

View File

@ -134,8 +134,8 @@ right away: the ``Question.was_published_recently()`` method returns ``True`` if
the ``Question`` was published within the last day (which is correct) but also if the ``Question`` was published within the last day (which is correct) but also if
the ``Question``s ``pub_date`` field is in the future (which certainly isn't). the ``Question``s ``pub_date`` field is in the future (which certainly isn't).
To check if the bug really exists, using the Admin create a question whose date Confirm the bug by using the :djadmin:`shell` to check the method on a question
lies in the future and check the method using the :djadmin:`shell`: whose date lies in the future:
.. console:: .. console::