I use DRF extension to se json list for model, and there i can debug with debug-toolbar
that GET
request, but how can i debug POST
and
You can not intercept redirects in DRF browsable api because it is ajax and called via javascript. Also the toolbar is not shown because of ajax call. As workaround you could temporary comment lines in debug_toolbar.middleware.DebugToolbarMiddleware#process_request
that disables toolbar in ajax call:
...
# Don't render the toolbar during AJAX requests.
# if request.is_ajax():
# return
...
Redirects still would not work, but toolbar would be visible.