mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Fixed #31504 -- Allowed calling makemigrations without an active database connection.
This commit is contained in:
parent
952afc166c
commit
9756c33429
4 changed files with 36 additions and 4 deletions
|
@ -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``
|
||||
-----------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue