Skip to content
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

Missing toolbar when using DRF PATCH form #1207

Closed
thomas-riccardi opened this issue Nov 12, 2019 · 2 comments
Closed

Missing toolbar when using DRF PATCH form #1207

thomas-riccardi opened this issue Nov 12, 2019 · 2 comments

Comments

@thomas-riccardi
Copy link
Contributor

DRF auto html views + debug-toolbar is a great combo to debug sql performance for GET requests.
However, when doing PATCH requests (using the same DRF auto html view: raw form) the toolbar disappears, and I cannot analyze sql queries.

It would be great to be able to analyze sql queries with DRF PATCH forms too.

@tim-schilling
Copy link
Contributor

The toolbar currently doesn't support ajax requests out of the box. You'll need to use a third party panel to get that view. I tested it with https://github.com/djsutho/django-debug-toolbar-request-history and verified that the put and patch requests are indeed logged by it.

@tim-schilling
Copy link
Contributor

Closing this issue in favor of #1066

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

No branches or pull requests

2 participants