1
0
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:
Adam Johnson
2020-04-14 08:56:16 +01:00
committed by Mariusz Felisiak
parent 6cad911674
commit 8e8c3f964e
5 changed files with 21 additions and 7 deletions

View File

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