Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

运行时提示错误 #12

Open
toorfeng opened this issue Apr 4, 2019 · 1 comment
Open

运行时提示错误 #12

toorfeng opened this issue Apr 4, 2019 · 1 comment

Comments

@toorfeng
Copy link

toorfeng commented Apr 4, 2019

运行后打开0.0.0.0:8000的时候出现错误:

  1. 终端显示:“from django.forms.utils import flatatt as _flatatt ImportError: No module named utils” ;
  2. 浏览器显示:"A server error occurred. Please contact the administrator"。
  3. 在终端打开python,发现输入:from django.forms.utils import flatatt as _flatatt,也是提示”ImportError: No module named utils“。
  4. 我发现是django的库依赖了这个文件,但是这个django版本却没有django.forms这个文件,不确定是否为版本bug.我安装1.7版本以上就可以导入这个库,但是其他依赖却出现问题。
  5. 暂时未能解决这个问题,不知道版主有没有解决方法,谢谢!
@the5fire
Copy link
Owner

@toorfeng 看我另外一个项目吧 typeidea ,那个会完整一些,并且是《Django企业开发实战》对应的产出,可以更详细的了解用法。用的时候注意分支。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants