Fixed #25318 -- Made SILENCED_SYSTEM_CHECKS suppress all messages.

Previously, messages of ERROR level or higher were printed to
the console.
This commit is contained in:
Tim Graham 2015-08-26 15:47:41 -04:00
parent 2bb1027d6b
commit 01b2b0b654
4 changed files with 14 additions and 12 deletions

View file

@ -2195,8 +2195,12 @@ Default: ``[]`` (Empty list)
A list of identifiers of messages generated by the system check framework
(i.e. ``["models.W001"]``) that you wish to permanently acknowledge and ignore.
Silenced warnings will no longer be output to the console; silenced errors
will still be printed, but will not prevent management commands from running.
Silenced checks will not be output to the console.
.. versionchanged:: 1.9
In older versions, silenced messages of ``ERROR`` level or higher were
printed to the console.
See also the :doc:`/ref/checks` documentation.

View file

@ -989,6 +989,10 @@ Miscellaneous
Set ``request.current_app`` to ``None`` if you don't want to use a namespace
hint.
* The :setting:`SILENCED_SYSTEM_CHECKS` setting now silences messages of all
levels. Previously, messages of ``ERROR`` level or higher were printed to the
console.
.. _deprecated-features-1.9:
Features deprecated in 1.9