[1.8.x] Fixed #25453 -- Reworded makemigration's ask_not_null_alteration suggestion.
Backport of de31423130
from master
This commit is contained in:
parent
1386a823c0
commit
67896c8561
|
@ -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",
|
||||
]
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue