-
-
Notifications
You must be signed in to change notification settings - Fork 340
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
traceback only when needed #387
Conversation
calculate traceback only if we need to wrap sql
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you also update tests?
looks like not updates to tests are needed for this |
can you check here https://github.com/jazzband/django-silk/blob/master/project/tests/test_view_sql_detail.py and related files? |
@ilndinesh Can you rebase this to the latest django-silk:master |
This can be considered as code cleanup/performance optimization and could be merged as is (provided the tests pass) |
Codecov Report
@@ Coverage Diff @@
## master #387 +/- ##
=======================================
Coverage 86.33% 86.33%
=======================================
Files 52 52
Lines 2093 2093
=======================================
Hits 1807 1807
Misses 286 286
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
calculate traceback only if we need to wrap sql