aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikko Ohtamaa2014-03-21 17:51:21 +0200
committerMikko Ohtamaa2014-03-21 17:51:21 +0200
commit135611be0531247ad0d029548ed071c41a847a79 (patch)
treef1e4970e14e4aa2c15c7dae1c03564812a41545f
parentf1c67fe25ea56fbd022e16a32cc9d68adc8b39e1 (diff)
downloaddjango-debug-toolbar-135611be0531247ad0d029548ed071c41a847a79.tar.bz2
Be more explicit about function signature
This is not a big change, but it the function signature is more readable this way.
-rw-r--r--docs/configuration.rst4
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
~~~~~~~~~~~~~