Does Django Debug Toolbar work with DRF?
Yes, Debug Toolbar works with DRF, but you need also to add INTERNAL_IPS = ['127.0.0.1',]
to your settings.py
file.
Didn't work for me until I've added
DEBUG_TOOLBAR_CONFIG = {
"SHOW_TOOLBAR_CALLBACK": lambda request: True,
}
Yes, it works fine if you have the correct INTERNAL_IPS = [..]
. With docker you also have to find out the IP of serving proxy-server for example nginx
-container.