can't get django to work in eclipse + windows

女生的网名这么多〃 提交于 2019-12-25 03:44:39

问题


I've installed django on my windows machine, added the pydev and django plugins for eclipse, create a django project, and ran manage.py createapp to create one app. Now when I run manage.py runserver (via eclipse's "custom command" option") It says Validating models... but when I go to http://localhost:8000 I get no response, as though the server is not running. What am I doing wrong?


回答1:


Try running with --noreload to avoid getting two processes. It helps with error output redirection in eclipse, and may give you more hints towards the actual problem.

Also, do the same from the command-line to see if you get the same problem.

Update: Per Fabio's comment above, you can work around this problem by hacking the code, as explained in this question.



来源:https://stackoverflow.com/questions/4173603/cant-get-django-to-work-in-eclipse-windows

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!