The install snippet for the Django SDK was missing the `django` extra even though it is referenced in the text.
@@ -15,7 +15,9 @@ describe('django onboarding docs', function () {
// Renders install instructions
expect(
- screen.getByText(textWithMarkupMatcher('pip install --upgrade sentry-sdk'))
+ screen.getByText(
+ textWithMarkupMatcher("pip install --upgrade 'sentry-sdk[django]'")
+ )
).toBeInTheDocument();
});
@@ -13,7 +13,7 @@ import {t, tct} from 'sentry/locale';
type Params = DocsParams;
-const getInstallSnippet = () => `pip install --upgrade sentry-sdk`;
+const getInstallSnippet = () => `pip install --upgrade 'sentry-sdk[django]'`;
const getSdkSetupSnippet = (params: Params) => `
import sentry_sdk