Fixed #31504 -- Allowed calling makemigrations without an active database connection.

This commit is contained in:
wtkm11 2020-04-25 14:54:20 -04:00 committed by Mariusz Felisiak
parent 952afc166c
commit 9756c33429
4 changed files with 36 additions and 4 deletions

View file

@ -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``
-----------