diff options
| author | wtkm11 <wtkm11@users.noreply.github.com> | 2020-04-25 14:54:20 -0400 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-05-19 10:24:23 +0200 |
| commit | 9756c334294ad573d887b449e2fe1cc87387af40 (patch) | |
| tree | 8fe6be895167a4eb208fa65bfaf92b414288ed33 /docs | |
| parent | 952afc166c8d79013b7181e35aab638145d2adc5 (diff) | |
Fixed #31504 -- Allowed calling makemigrations without an active database connection.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/django-admin.txt | 6 | ||||
| -rw-r--r-- | docs/releases/3.2.txt | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt index 4cd477b7a8..46e048e648 100644 --- a/docs/ref/django-admin.txt +++ b/docs/ref/django-admin.txt @@ -824,6 +824,12 @@ Generate migration files without Django version and timestamp header. Makes ``makemigrations`` exit with a non-zero status when model changes without migrations are detected. +.. versionchanged:: 3.2 + + Support for calling ``makemigrations`` without an active database + connection was added. In that case, check for a consistent migration + history is skipped. + ``migrate`` ----------- diff --git a/docs/releases/3.2.txt b/docs/releases/3.2.txt index b1a0e19edb..1603f8f1b3 100644 --- a/docs/releases/3.2.txt +++ b/docs/releases/3.2.txt @@ -157,6 +157,10 @@ Management Commands * :djadmin:`loaddata` now supports fixtures stored in XZ archives (``.xz``) and LZMA archives (``.lzma``). +* :djadmin:`makemigrations` can now be called without an active database + connection. In that case, check for a consistent migration history is + skipped. + Migrations ~~~~~~~~~~ |
