mirror of https://github.com/django/django.git
Corrected an explanation in tutorial 5.
This commit is contained in:
parent
e6f0e324e2
commit
d4bbd3f418
|
@ -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::
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue