It seems that dajax
is hi-jacking the ajax requests from django-debug-toolbar
Is there anyway to work around this or a known solution?
It seems that dajax
is hi-jacking the ajax requests from django-debug-toolbar
Is there anyway to work around this or a known solution?
要解决此问题,DAJAXICE_XMLHTTPREQUEST_JS_IMPORT = False
请在 Django 项目设置中进行设置。
默认情况下,Dajaxice 包含XmlHttpRequest.js库:
如果您禁用包含此第三方 javascript 库,则 Django 调试工具栏可以正确加载面板。在排除 XmlHttpRequest.js 库的情况下,我没有注意到 Dajaxice 有任何问题——我相信它只是为了与旧的 IE 浏览器兼容,尽管我不确定。