Commit de314231 authored by Benjamin Wohlwend's avatar Benjamin Wohlwend Committed by Tim Graham
Browse files

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

parent dcd7358a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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",
                ]
            )