mirror of
https://github.com/django/django.git
synced 2024-12-23 01:25:58 +00:00
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``’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
|
||||
lies in the future and check the method using the :djadmin:`shell`:
|
||||
Confirm the bug by using the :djadmin:`shell` to check the method on a question
|
||||
whose date lies in the future:
|
||||
|
||||
.. console::
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user