You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/usage.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -377,16 +377,16 @@ This requires `LOGGING = build_logging_dict()` in your settings. Without it, `se
377
377
378
378
### WebSockets (Django Channels)
379
379
380
-
Add `ChannelsLoggingMiddleware` to your ASGI application. Place it outside`AuthMiddlewareStack` so `scope["user"]` is already resolved when the connection is logged:
380
+
Add `ChannelsLoggingMiddleware` to your ASGI application. Place it inside`AuthMiddlewareStack` so `scope["user"]` is already resolved when the connection is logged:
381
381
382
382
```python
383
383
# asgi.py
384
384
from django_o11y.logging.middleware import ChannelsLoggingMiddleware
0 commit comments