| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:875de7d2-35da-8784-cd1f-cbba52f26d31 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A7DA:18DBD0:2A46F9:3A78FE:6B008836 |
| html-safe-nonce | 05572c85059858a68488e5c2079765793c45f2c614a361cce20a859b9f9dd0a6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBN0RBOjE4REJEMDoyQTQ2Rjk6M0E3OEZFOjZCMDA4ODM2IiwidmlzaXRvcl9pZCI6IjcxNTkwNDEwMjMzNzk4MDIxNjYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 31b16898f592f177efa498bc584832f0b65a5f317dfaa1eb40f668436123d84a |
| hovercard-subject-tag | pull_request:4200794682 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/getsentry/sentry-python/7024/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/fd09073c79659873668eeeeb4b05585b812116f66595ae29d9230ae7682fb90a/getsentry/sentry-python/pull/7024 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fd09073c79659873668eeeeb4b05585b812116f66595ae29d9230ae7682fb90a/getsentry/sentry-python/pull/7024 |
| og:image:alt | Description
Re-use the existing shim in django.asgi that vendors asgiref.sync.iscoroutinefunction().
The views.py and asgi.py files were split to keep Python 2 compatibility in #851.
As we no long... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | alexander-alderman-webb |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4d3d8e50f02c1d7bf86d5acfa1d3bfe9366abd6528a6b429eb07a168429d2b61 |
| turbo-cache-control | no-cache |
| go-import | github.com/getsentry/sentry-python git https://github.com/getsentry/sentry-python.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 137814779 |
| octolytics-dimension-repository_nwo | getsentry/sentry-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 137814779 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | db758f8e02b8257935fb03edf81a3e76eb3abd11 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/getsentry/sentry-python/pull/7024#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F7024 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F7024 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=getsentry%2Fsentry-python |
| Reload | https://github.com/getsentry/sentry-python/pull/7024 |
| Reload | https://github.com/getsentry/sentry-python/pull/7024 |
| Reload | https://github.com/getsentry/sentry-python/pull/7024 |
| getsentry | https://github.com/getsentry |
| sentry-python | https://github.com/getsentry/sentry-python |
| Code | https://github.com/getsentry/sentry-python |
| Issues345 (345) | https://github.com/getsentry/sentry-python/issues |
| Pull requests41 (41) | https://github.com/getsentry/sentry-python/pulls |
| Discussions | https://github.com/getsentry/sentry-python/discussions |
| Actions | https://github.com/getsentry/sentry-python/actions |
| Security and quality2 (2) | https://github.com/getsentry/sentry-python/security |
| Insights | https://github.com/getsentry/sentry-python/insights |
| https://github.com/getsentry/sentry-python |
| alexander-alderman-webb | https://github.com/alexander-alderman-webb |
| master | https://github.com/getsentry/sentry-python/tree/master |
| webb/django-views-iscoroutinefunction | https://github.com/getsentry/sentry-python/tree/webb/django-views-iscoroutinefunction |
| Conversation | https://github.com/getsentry/sentry-python/pull/7024 |
| Commits2 (2) | https://github.com/getsentry/sentry-python/pull/7024/commits |
| Checks | https://github.com/getsentry/sentry-python/pull/7024/checks |
| Files changed | https://github.com/getsentry/sentry-python/pull/7024/files |
| chore(django): Use iscoroutinefunction shim in patch_views() | https://github.com/getsentry/sentry-python/pull/7024#top |
| alexander-alderman-webb | https://github.com/alexander-alderman-webb |
| master | https://github.com/getsentry/sentry-python/tree/master |
| webb/django-views-iscoroutinefunction | https://github.com/getsentry/sentry-python/tree/webb/django-views-iscoroutinefunction |
|
| https://github.com/alexander-alderman-webb |
| alexander-alderman-webb | https://github.com/alexander-alderman-webb |
| Aug 4, 2026 | https://github.com/getsentry/sentry-python/pull/7024#issue-5057488156 |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/7024 |
| #851 | https://github.com/getsentry/sentry-python/pull/851 |
| #4900 | https://github.com/getsentry/sentry-python/issues/4900 |
| conventional commit | https://develop.sentry.dev/engineering-practices/commit-messages/#type |
| CONTRIBUTING.md | https://github.com/getsentry/sentry-python/blob/master/CONTRIBUTING.md |
| Sentry SDK development docs | https://develop.sentry.dev/sdk/ |
| Discord community | https://discord.gg/Ww9hbqr |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/7024 |
|
| https://github.com/alexander-alderman-webb |
| chore(django): Use iscoroutinefunction shim in patch_views | https://github.com/getsentry/sentry-python/pull/7024/commits/cd055175551883f00b63d7577bb36562e59488a2 |
| cd05517 | https://github.com/getsentry/sentry-python/pull/7024/commits/cd055175551883f00b63d7577bb36562e59488a2 |
| https://github.com/alexander-alderman-webb |
| alexander-alderman-webb | https://github.com/alexander-alderman-webb |
| August 4, 2026 06:42 | https://github.com/getsentry/sentry-python/pull/7024#event-28931615827 |
| https://github.com/alexander-alderman-webb |
| alexander-alderman-webb | https://github.com/alexander-alderman-webb |
| code owner | https://github.com/getsentry/sentry-python/blob/52a7c266e111b9effda9fd0ebccfa6273c07ab0b/.github/CODEOWNERS#L1 |
| August 4, 2026 06:42 | https://github.com/getsentry/sentry-python/pull/7024#event-28931616201 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| Aug 4, 2026 | https://github.com/getsentry/sentry-python/pull/7024#issuecomment-5175566500 |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/7024 |
| sentry_sdk/integrations/django/views.py | https://github.com/getsentry/sentry-python/pull/7024/files#diff-81a59739a2267d87b39ad7b6a357d238121a4cddc47a40223873b6c53a1ea4f2 |
| Codecov Action | https://github.com/getsentry/codecov-action |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/7024 |
| https://github.com/sentrivana |
| sentrivana | https://github.com/sentrivana |
|
Aug 4, 2026
| https://github.com/getsentry/sentry-python/pull/7024#pullrequestreview-4851576346 |
|
View reviewed changes
| https://github.com/getsentry/sentry-python/pull/7024/files/cd055175551883f00b63d7577bb36562e59488a2 |
| sentrivana | https://github.com/sentrivana |
| https://github.com/getsentry/sentry-python/pull/7024#pullrequestreview-4851576346 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/7024 |
| sentry_sdk/integrations/django/views.py | https://github.com/getsentry/sentry-python/pull/7024/files/cd055175551883f00b63d7577bb36562e59488a2#diff-81a59739a2267d87b39ad7b6a357d238121a4cddc47a40223873b6c53a1ea4f2 |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/7024 |
|
| https://github.com/alexander-alderman-webb |
| use early returns | https://github.com/getsentry/sentry-python/pull/7024/commits/c18d8ca8e674d10e43e4a951515e2697581baa27 |
| c18d8ca | https://github.com/getsentry/sentry-python/pull/7024/commits/c18d8ca8e674d10e43e4a951515e2697581baa27 |
| https://github.com/alexander-alderman-webb |
| alexander-alderman-webb | https://github.com/alexander-alderman-webb |
| Aug 4, 2026 | https://github.com/getsentry/sentry-python/pull/7024#event-28934910973 |
| https://github.com/alexander-alderman-webb |
| alexander-alderman-webb | https://github.com/alexander-alderman-webb |
| 3e96fc3 | https://github.com/getsentry/sentry-python/commit/3e96fc3640350af89089067857c7dd1fa60f69b3 |
| Aug 4, 2026 | https://github.com/getsentry/sentry-python/pull/7024#event-28934912169 |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/7024 |
| https://github.com/alexander-alderman-webb |
| alexander-alderman-webb | https://github.com/alexander-alderman-webb |
| August 4, 2026 07:57 | https://github.com/getsentry/sentry-python/pull/7024#event-28934913786 |
| mgaligniana | https://github.com/mgaligniana |
|
Aug 9, 2026
| https://github.com/getsentry/sentry-python/pull/7024#ref-commit-0a61aa7 |
|
| https://github.com/alexander-alderman-webb |
|
| https://github.com/Digenis |
|
| https://github.com/mgaligniana |
| chore(django): Use | https://github.com/mgaligniana/sentry-python/commit/0a61aa739d4dfe7f03af30f27f06360bf45ea735 |
| iscoroutinefunction | https://github.com/mgaligniana/sentry-python/commit/0a61aa739d4dfe7f03af30f27f06360bf45ea735 |
| shim in | https://github.com/mgaligniana/sentry-python/commit/0a61aa739d4dfe7f03af30f27f06360bf45ea735 |
| patch_views() | https://github.com/mgaligniana/sentry-python/commit/0a61aa739d4dfe7f03af30f27f06360bf45ea735 |
| ( | https://github.com/mgaligniana/sentry-python/commit/0a61aa739d4dfe7f03af30f27f06360bf45ea735 |
| get… | https://github.com/getsentry/sentry-python/pull/7024 |
| 0a61aa7 | https://github.com/mgaligniana/sentry-python/commit/0a61aa739d4dfe7f03af30f27f06360bf45ea735 |
| …sentry#7024 | https://github.com/getsentry/sentry-python/pull/7024 |
| https://github.com/apps/sentry-release-bot |
| sentry-release-bot | https://github.com/apps/sentry-release-bot |
|
Aug 10, 2026
| https://github.com/getsentry/sentry-python/pull/7024#ref-issue-5109498312 |
|
publish: getsentry/sentry-python@2.67.0
getsentry/publish#9190
| https://github.com/getsentry/publish/issues/9190 |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-python/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F7024 |
|
| https://github.com/sentrivana |
|
sentrivana
| https://github.com/sentrivana |
|
| https://github.com/getsentry/sentry-python/pull/7024/files/cd055175551883f00b63d7577bb36562e59488a2 |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/7024 |
|
Replace asyncio.iscoroutinefunction
| https://github.com/getsentry/sentry-python/issues/4900 |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/7024 |
|
| https://github.com/alexander-alderman-webb |
|
| https://github.com/sentrivana |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |