diff options
| author | Tim Heap <tim@timheap.me> | 2014-11-11 15:41:55 +1100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-11-28 07:48:39 -0500 |
| commit | deb607648ed7d484a90474b6da48642b4f39bca7 (patch) | |
| tree | f9728781a87ed9b8f708aa9803c19c3607c7e0e0 /docs/releases | |
| parent | ab89414f40db1598364a7fe4cfac1766cacd2668 (diff) | |
Fixed #23728 -- Added the --exit option to makemigrations.
If no changes that need migrations are found, `makemigrations --exit`
exits with error code 1.
Diffstat (limited to 'docs/releases')
| -rw-r--r-- | docs/releases/1.8.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/releases/1.8.txt b/docs/releases/1.8.txt index 5df0cc1bd1..8f4053168d 100644 --- a/docs/releases/1.8.txt +++ b/docs/releases/1.8.txt @@ -333,6 +333,9 @@ Management Commands :setting:`FIXTURE_DIRS` contains duplicates or a default fixture directory path (``app_name/fixtures``), an exception is raised. +* :djadmin:`makemigrations` now supports an :djadminopt:`--exit` option to + exit with an error code if no migrations are created. + Middleware ^^^^^^^^^^ |
