你好,我的开发人员。我是一名后端初学者 Django 开发人员,我使用了来自 Htmlup.com 的预制模板。我已将所有链接更改为{'static "{file location}"'}
. 当我运行它时,localhost
它给了我这个错误:
init.js:15 Uncaught TypeError: {(intermediate value)} is not a functionat init.js:15
我试过添加:
var helios_settings = {
//other settings here
skel: {prefix: "{% static '/css' %}" },
// other settings here
}
到init.js
文件,但它仍然无法正常工作。请帮我解决这个问题。