mirror of https://github.com/django/django.git
Fixed #25453 -- Reworded makemigration's ask_not_null_alteration suggestion.
This commit is contained in:
parent
dcd7358afd
commit
de31423130
|
@ -148,8 +148,8 @@ class InteractiveMigrationQuestioner(MigrationQuestioner):
|
||||||
[
|
[
|
||||||
"Provide a one-off default now (will be set on all existing rows)",
|
"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 "
|
("Ignore for now, and let me handle existing rows with NULL myself "
|
||||||
"(e.g. adding a RunPython or RunSQL operation in the new migration "
|
"(e.g. because you added a RunPython or RunSQL operation to handle "
|
||||||
"file before the AlterField operation)"),
|
"NULL values in a previous data migration)"),
|
||||||
"Quit, and let me add a default in models.py",
|
"Quit, and let me add a default in models.py",
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue