Skip to content

fix(django): trace mro chain for Django views #1625

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Aug 25, 2020

Conversation

Kyle-Verhoog
Copy link
Member

No description provided.

brettlangdon
brettlangdon previously approved these changes Aug 25, 2020
@brettlangdon brettlangdon merged commit 1cc5318 into master Aug 25, 2020
@brettlangdon brettlangdon deleted the brettlangdon/django.view.mro branch August 25, 2020 22:46
Kyle-Verhoog added a commit that referenced this pull request Oct 23, 2020
We had been silently failing to instrument views for feed-view, partial-view and include because of a change introduced with #1625. Tracer debug logs do show this. This PR fixes the instrumentation code to check if the view has an mro before traversing it and fixes the tests by adding snapshot regressions.

Co-authored-by: Kyle Verhoog <[email protected]>
Co-authored-by: Kyle Verhoog <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants