Skip to content

Commit 35d7c2d

Browse files
committed
fix: document pii
1 parent 574437b commit 35d7c2d

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,15 @@ breadcrumbs manually:
9797
This should effectively enable Sentry-Python to work with ``asyncio`` under
9898
that Python version.
9999

100+
101+
## PII
102+
103+
Currently Sentry-Python does not send any personally-identifiable user data
104+
with events by default. You need to explicitly enable this behavior with the
105+
``send_default_pii`` option passed to ``init``:
106+
107+
init(..., send_default_pii=True)
108+
100109
## Integrations
101110

102111
Head over to [the other pages](./docs/) to check out integrations, which use

docs/django.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ In your ``settings.py``:
1313

1414
* Personally identifiable information (such as user ids, usernames,
1515
cookies, authorization headers, ip addresses) is excluded unless
16-
``send_default_pii`` is set to ``true``. See ``README.md``, section "PII"
16+
``send_default_pii`` is set to ``True``. See ``README.md``, section "PII"
1717

1818
* Request data is attached to all events.
1919

0 commit comments

Comments
 (0)