Fixed #26443 -- Corrected timezone.now in MigrationQuestioner prompt

This commit is contained in:
Iacopo Spalletti 2016-04-02 16:59:04 +02:00 committed by Markus Holtermann
parent d2569f89f2
commit 394755b8d9
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ class InteractiveMigrationQuestioner(MigrationQuestioner):
def _ask_default(self): def _ask_default(self):
print("Please enter the default value now, as valid Python") print("Please enter the default value now, as valid Python")
print("The datetime and django.utils.timezone modules are available, so you can do e.g. timezone.now()") print("The datetime and django.utils.timezone modules are available, so you can do e.g. timezone.now")
while True: while True:
if six.PY3: if six.PY3:
# Six does not correctly abstract over the fact that # Six does not correctly abstract over the fact that