Commit 4c92ecd7 authored by Alexander Schulze's avatar Alexander Schulze Committed by Tim Graham
Browse files

[1.7.x] Fixed #23959 -- Clarified when checks automatically run.

Backport of cf2390be from master
parent 66e91543
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -12,8 +12,9 @@ The framework is extensible so you can easily add your own checks.

Checks can be triggered explicitly via the :djadmin:`check` command. Checks are
triggered implicitly before most commands, including :djadmin:`runserver` and
:djadmin:`migrate`. For performance reasons, the checks are not performed if
:setting:`DEBUG` is set to ``False``.
:djadmin:`migrate`. For performance reasons, checks are not run as part of the
WSGI stack that is used in deployment. If you need to run system checks on your
deployment server, trigger them explicitly using :djadmin:`check`.

Serious errors will prevent Django commands (such as :djadmin:`runserver`) from
running at all. Minor problems are reported to the console. If you have inspected