Fixed #25453 -- Reworded makemigration's ask_not_null_alteration suggestion.

This commit is contained in:
Benjamin Wohlwend 2015-09-23 17:29:05 +02:00 committed by Tim Graham
parent dcd7358afd
commit de31423130
1 changed files with 2 additions and 2 deletions

View File

@ -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",
]
)