From 287532588941d2941e19c4cd069bcbd8af889203 Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Sun, 4 Oct 2015 11:16:12 -0700 Subject: Fixed #25500 -- Added --fail-level option to check command. This option specifies the level that check command exits with a non-zero status. Default is ``ERROR``. --- docs/ref/django-admin.txt | 10 ++++++++++ docs/releases/1.10.txt | 4 +++- 2 files changed, 13 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt index a48a7043fd..ee9fd0cc83 100644 --- a/docs/ref/django-admin.txt +++ b/docs/ref/django-admin.txt @@ -147,6 +147,16 @@ Or you could run it directly on a production or staging deployment to verify that the correct settings are in use (omitting ``--settings``). You could even make it part of your integration test suite. +.. django-admin-option:: --fail-level + +.. versionadded:: 1.10 + +Specifies the message level that will cause the command to exit with a non-zero +status. Default is ``ERROR``. + +Available levels are: ``CRITICAL``, ``ERROR``, ``WARNING``, ``INFO``, and +``DEBUG``. + compilemessages --------------- diff --git a/docs/releases/1.10.txt b/docs/releases/1.10.txt index 1eada416f6..2c41db2b72 100644 --- a/docs/releases/1.10.txt +++ b/docs/releases/1.10.txt @@ -150,7 +150,9 @@ Internationalization Management Commands ^^^^^^^^^^^^^^^^^^^ -* ... +* The new :djadminopt:`--fail-level` option of the :djadmin:`check` command + allows specifying the message level that will cause the command to exit with + a non-zero status. Migrations ^^^^^^^^^^ -- cgit v1.3