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

Better support for DRF browsable API out of the box #1066

Closed
jeroenbrouwer opened this issue Jun 29, 2018 · 1 comment · Fixed by #1250
Closed

Better support for DRF browsable API out of the box #1066

jeroenbrouwer opened this issue Jun 29, 2018 · 1 comment · Fixed by #1250

Comments

@jeroenbrouwer
Copy link

jeroenbrouwer commented Jun 29, 2018

In the browsable API of DRF the POST requests are done through AJAX calls which don't trigger the debug_toolbar. A common workaround is to implement a custom middleware with the check for request.is_ajax() commented out. It would be nice if there was a workaround for DRF out of the box.

@tim-schilling
Copy link
Contributor

A third party panel that does support AJAX requests is https://github.com/djsutho/django-debug-toolbar-request-history

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 a pull request may close this issue.

2 participants