Skip to content

Commit

Permalink
Add docs for the IS_RUNNING_TESTS setting
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-schilling committed Apr 26, 2024
1 parent 902665c commit 3cb2f7c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/configuration.rst
Expand Up @@ -72,6 +72,17 @@ Toolbar options
The toolbar searches for this string in the HTML and inserts itself just
before.

* ``IS_RUNNING_TESTS``

Default: ``"test" in sys.argv``

This setting whether the application is running tests. If this resolves to
``True``, the toolbar will prevent you from running tests. This should only
be changed if your test command doesn't include ``test`` or if you wish to
test your application with the toolbar configured. If you do wish to test
your application with the toolbar configured, set this setting to
``False``.

.. _RENDER_PANELS:

* ``RENDER_PANELS``
Expand Down

0 comments on commit 3cb2f7c

Please sign in to comment.