summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Wohlwend <piquadrat@gmail.com>2015-09-23 17:29:05 +0200
committerTim Graham <timograham@gmail.com>2015-09-23 13:41:01 -0400
commit67896c85610744318d2ba9c2d5570568889ac3c3 (patch)
treef8e569da89fc78ed2452f61a2c976f707c6faa23
parent1386a823c0b4926574c4b14725cc1f026d7f6508 (diff)
[1.8.x] Fixed #25453 -- Reworded makemigration's ask_not_null_alteration suggestion.
Backport of de31423130912a012513aad93ec805f8e08a0d5e from master
-rw-r--r--django/db/migrations/questioner.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django/db/migrations/questioner.py b/django/db/migrations/questioner.py
index 5928e3dfab..55cbe0d7dd 100644
--- a/django/db/migrations/questioner.py
+++ b/django/db/migrations/questioner.py
@@ -148,8 +148,8 @@ class InteractiveMigrationQuestioner(MigrationQuestioner):
[
"Provide a one-off default now (will be set on all existing rows)",
("Ignore for now, and let me handle existing rows with NULL myself "
- "(e.g. adding a RunPython or RunSQL operation in the new migration "
- "file before the AlterField operation)"),
+ "(e.g. because you added a RunPython or RunSQL operation to handle "
+ "NULL values in a previous data migration)"),
"Quit, and let me add a default in models.py",
]
)