summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIacopo Spalletti <i.spalletti@nephila.it>2016-04-02 16:59:04 +0200
committerMarkus Holtermann <info@markusholtermann.eu>2016-04-03 01:33:06 +0200
commit394755b8d964c8b20ce052a39a2874686f63b324 (patch)
tree25526cc7900e0fa8f289330fb14bc830cf80bdef
parentd2569f89f28883d07ede0e44a0a69ae678d3b35f (diff)
Fixed #26443 -- Corrected timezone.now in MigrationQuestioner prompt
-rw-r--r--django/db/migrations/questioner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/migrations/questioner.py b/django/db/migrations/questioner.py
index ae60f301f1..32fa40db08 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