Skip to content

Commit 3f00ca0

Browse files
tim-schillinggone
authored andcommitted
Fix docstring for Panel.generate_stats
It was out of alignment with what it actually does.
1 parent 65cd280 commit 3f00ca0

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

debug_toolbar/panels/__init__.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -203,14 +203,13 @@ def generate_headers(self, request, response):
203203

204204
def generate_stats(self, request, response):
205205
"""
206-
Called after :meth:`process_request
207-
<debug_toolbar.panels.Panel.process_request>`, but may not be executed
208-
on every request. This will only be called if the toolbar will be
209-
inserted into the request.
210-
211206
Write panel logic related to the response there. Post-process data
212207
gathered while the view executed. Save data with :meth:`record_stats`.
213208
209+
Called after :meth:`process_request
210+
<debug_toolbar.panels.Panel.process_request>`.
211+
212+
214213
Does not return a value.
215214
"""
216215

0 commit comments

Comments
 (0)