Skip to content

Commit a979755

Browse files
authored
docs: Fix middleware_spans docstring (#5279)
We updated the option default, but forgot to update the docstring.
1 parent f470d35 commit a979755

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentry_sdk/integrations/django/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ class DjangoIntegration(Integration):
109109
Auto instrument a Django application.
110110
111111
:param transaction_style: How to derive transaction names. Either `"function_name"` or `"url"`. Defaults to `"url"`.
112-
:param middleware_spans: Whether to create spans for middleware. Defaults to `True`.
112+
:param middleware_spans: Whether to create spans for middleware. Defaults to `False`.
113113
:param signals_spans: Whether to create spans for signals. Defaults to `True`.
114114
:param signals_denylist: A list of signals to ignore when creating spans.
115115
:param cache_spans: Whether to create spans for cache operations. Defaults to `False`.

0 commit comments

Comments
 (0)