From c1c336e88bbbfdef823955a03726bc1b4d873f63 Mon Sep 17 00:00:00 2001 From: Yongzhi Pan Date: Mon, 12 Nov 2012 19:17:01 +0800 Subject: Fix doc for show_toolbar. --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 17659f1..6cbac7d 100644 --- a/README.rst +++ b/README.rst @@ -120,7 +120,7 @@ The debug toolbar has two settings that can be set in ``settings.py``: If not set or set to None, the debug_toolbar middleware will use its built-in show_toolbar method for determining whether the toolbar should show or not. The default checks are that DEBUG must be - set to True or the IP of the request must be in INTERNAL_IPS. You can + set to True and the IP of the request must be in INTERNAL_IPS. You can provide your own method for displaying the toolbar which contains your custom logic. This method should return True or False. -- cgit v1.2.3