diff options
| author | Aymeric Augustin | 2014-03-25 16:08:11 +0100 |
|---|---|---|
| committer | Aymeric Augustin | 2014-03-25 16:08:11 +0100 |
| commit | 69d70bfd585403b5490479c1a41b1ddcb7af850f (patch) | |
| tree | f1e4970e14e4aa2c15c7dae1c03564812a41545f | |
| parent | f1c67fe25ea56fbd022e16a32cc9d68adc8b39e1 (diff) | |
| parent | 135611be0531247ad0d029548ed071c41a847a79 (diff) | |
| download | django-debug-toolbar-69d70bfd585403b5490479c1a41b1ddcb7af850f.tar.bz2 | |
Merge pull request #567 from miohtama/master
Be more explicit about function signature of toolbar callback
| -rw-r--r-- | docs/configuration.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/configuration.rst b/docs/configuration.rst index f6b4c20..ff4ece7 100644 --- a/docs/configuration.rst +++ b/docs/configuration.rst @@ -113,8 +113,8 @@ Toolbar options This is the dotted path to a function used for determining whether the toolbar should show or not. The default checks are that ``DEBUG`` must be set to ``True``, the IP of the request must be in ``INTERNAL_IPS``, and the - request must no be an AJAX request. You can provide your own function that - accepts a request in argument and returns ``True`` or ``False``. + request must no be an AJAX request. You can provide your own function + ``callback(request)`` which returns ``True`` or ``False``. Panel options ~~~~~~~~~~~~~ |
