Skip to content

Commit

Permalink
fix word spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
salty-ivy committed Aug 27, 2024
1 parent 7bd5314 commit 9ecd36d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion debug_toolbar/panels/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def enable_instrumentation(self):
Unless the toolbar or this panel is disabled, this method will be
called early in ``DebugToolbarMiddleware``. It should be idempotent.
Add aenable_instrumentation method to the Panel class to support async
Add aenable_instrumentation method to the panel class to support async
instrumentation logic.
"""

Expand Down
4 changes: 2 additions & 2 deletions debug_toolbar/panels/sql/panel.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,8 @@ def get_urls(cls):

async def aenable_instrumentation(self):
"""
Async version of enable_instrumentation.
For async-capable panels that has async logic for instrumentation
Async version of enable instrumentation.
For async capable panels having async logic for instrumentation.
"""
await sync_to_async(self.enable_instrumentation)()

Expand Down
1 change: 1 addition & 0 deletions docs/spelling_wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ checkbox
contrib
dicts
django
enable_instrumentation
fallbacks
flamegraph
flatpages
Expand Down

0 comments on commit 9ecd36d

Please sign in to comment.