mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Refs #29501 -- Allowed customizing exit status for management commands.
This commit is contained in:
committed by
Mariusz Felisiak
parent
6cad911674
commit
8e8c3f964e
@@ -313,6 +313,10 @@ Management Commands
|
||||
* The new :option:`migrate --check` option makes the command exit with a
|
||||
non-zero status when unapplied migrations are detected.
|
||||
|
||||
* The new ``returncode`` argument for
|
||||
:attr:`~django.core.management.CommandError` allows customizing the exit
|
||||
status for management commands.
|
||||
|
||||
Migrations
|
||||
~~~~~~~~~~
|
||||
|
||||
|
||||
Reference in New Issue
Block a user