mirror of
https://github.com/django/django.git
synced 2025-06-05 03:29:12 +00:00
[1.8.x] Fixed #25453 -- Reworded makemigration's ask_not_null_alteration suggestion.
Backport of de31423130912a012513aad93ec805f8e08a0d5e 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)",
|
"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…
x
Reference in New Issue
Block a user