Skip to content

Commit c1c336e

Browse files
author
Yongzhi Pan
committed
Fix doc for show_toolbar.
1 parent aeb45f2 commit c1c336e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ The debug toolbar has two settings that can be set in ``settings.py``:
120120
If not set or set to None, the debug_toolbar
121121
middleware will use its built-in show_toolbar method for determining whether
122122
the toolbar should show or not. The default checks are that DEBUG must be
123-
set to True or the IP of the request must be in INTERNAL_IPS. You can
123+
set to True and the IP of the request must be in INTERNAL_IPS. You can
124124
provide your own method for displaying the toolbar which contains your
125125
custom logic. This method should return True or False.
126126

0 commit comments

Comments
 (0)