django-developer-panel
django-developer-panel copied to clipboard
AJAX Support?
Are there any plans to support AJAX requests? I'd love to be able to examine the SQL queries that are issued for those kinds of calls, but this panel only seems to monitor primary requests.
AJAX support would be difficult to support, since the Chrome panel can only get access to data in the DOM of the page you are browsing. It would require custom javascript in your application's templates to fetch the debug data and make it available to the panel.
If your REST endpoints are built using Django Rest Framework, however, the debug panel is compatible with the browsable API, so you can introspect your AJAX calls in that way.