0

我已经从这里复制了 djnago 应用程序

https://github.com/sigurdga/django-jquery-file-upload

我已将该文件夹作为文件上传放在我的根目录中。

但是然后转到 .new/upload

我收到错误 no module named fileupload

但是如果去python shell那么我可以import fileupload没有任何错误

4

2 回答 2

0

根据您正在安装的应用程序,也许您应该尝试将其放入 URL

upload/new 

代替

new/upload
于 2012-10-03T07:52:37.693 回答
0

在项目的 INSTALLED_APP 的 settungs.py 文件中添加已安装的应用程序,然后尝试导入它。

于 2018-09-27T04:34:12.450 回答