From 135611be0531247ad0d029548ed071c41a847a79 Mon Sep 17 00:00:00 2001 From: Mikko Ohtamaa Date: Fri, 21 Mar 2014 17:51:21 +0200 Subject: Be more explicit about function signature This is not a big change, but it the function signature is more readable this way.--- docs/configuration.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs') 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 ~~~~~~~~~~~~~ -- cgit v1.2.3