From 394755b8d964c8b20ce052a39a2874686f63b324 Mon Sep 17 00:00:00 2001 From: Iacopo Spalletti Date: Sat, 2 Apr 2016 16:59:04 +0200 Subject: [PATCH] Fixed #26443 -- Corrected timezone.now in MigrationQuestioner prompt --- django/db/migrations/questioner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/db/migrations/questioner.py b/django/db/migrations/questioner.py index ae60f301f12..32fa40db082 100644 --- a/django/db/migrations/questioner.py +++ b/django/db/migrations/questioner.py @@ -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