1
0
mirror of https://github.com/django/django.git synced 2025-04-01 12:06:43 +00:00

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

View File

@ -103,7 +103,7 @@ class InteractiveMigrationQuestioner(MigrationQuestioner):
def _ask_default(self):
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:
if six.PY3:
# Six does not correctly abstract over the fact that