diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/django-admin.txt | 7 | ||||
| -rw-r--r-- | docs/releases/4.1.txt | 4 |
2 files changed, 11 insertions, 0 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt index 6188324d52..78770fbf72 100644 --- a/docs/ref/django-admin.txt +++ b/docs/ref/django-admin.txt @@ -825,6 +825,13 @@ Generate migration files without Django version and timestamp header. Makes ``makemigrations`` exit with a non-zero status when model changes without migrations are detected. +.. django-admin-option:: --scriptable + +.. versionadded:: 4.1 + +Diverts log output and input prompts to ``stderr``, writing only paths of +generated migration files to ``stdout``. + ``migrate`` ----------- diff --git a/docs/releases/4.1.txt b/docs/releases/4.1.txt index 219201fd00..8cdec777f9 100644 --- a/docs/releases/4.1.txt +++ b/docs/releases/4.1.txt @@ -210,6 +210,10 @@ Management Commands * :option:`makemigrations --no-input` now logs default answers and reasons why migrations cannot be created. +* The new :option:`makemigrations --scriptable` options diverts log output and + input prompts to ``stderr``, writing only paths of generated migration files + to ``stdout``. + Migrations ~~~~~~~~~~ |
