mirror of https://github.com/django/django.git
[1.9.x] Clarified a docstring in tutorial05.
Backport of 0f2c2c104b
from master
This commit is contained in:
parent
35b5e11a98
commit
c341db1d83
|
@ -457,8 +457,8 @@ class:
|
|||
|
||||
def create_question(question_text, days):
|
||||
"""
|
||||
Creates a question with the given `question_text` published the given
|
||||
number of `days` offset to now (negative for questions published
|
||||
Creates a question with the given `question_text` and published the
|
||||
given number of `days` offset to now (negative for questions published
|
||||
in the past, positive for questions that have yet to be published).
|
||||
"""
|
||||
time = timezone.now() + datetime.timedelta(days=days)
|
||||
|
|
Loading…
Reference in New Issue