We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8402c4d commit e1c0755Copy full SHA for e1c0755
debug_toolbar/panels/__init__.py
@@ -173,7 +173,11 @@ def record_stats(self, stats):
173
"""
174
Store data gathered by the panel. ``stats`` is a :class:`dict`.
175
176
- Each call to ``record_stats`` updates the statistics dictionary.
+ Each call to ``record_stats`` updates the store's data for
177
+ the panel.
178
+
179
+ To support backwards compatibility, it will also update the
180
+ panel's statistics dictionary.
181
182
self.toolbar.stats.setdefault(self.panel_id, {}).update(stats)
183
self.toolbar.store.save_panel(
0 commit comments