[Answered ]-How do I get django-debug-toolbar to work with dajax?

2πŸ‘

βœ…

To fix this issue, set DAJAXICE_XMLHTTPREQUEST_JS_IMPORT = False in your Django project settings.

By default, Dajaxice includes the XmlHttpRequest.js library:

If you disable the inclusion of this third party javascript library, the Django Debug Toolbar can load panels properly. I have not noticed any issues with Dajaxice with the XmlHttpRequest.js library excluded- I believe it is only for compatibility with old IE browsers, though I’m not certain.

Leave a comment