Loading docs/intro/tutorial05.txt +2 −2 Original line number Diff line number Diff line Loading @@ -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 Loading
docs/intro/tutorial05.txt +2 −2 Original line number Diff line number Diff line Loading @@ -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