Django manage.py runserver从不完成“验证模型” [英] Django manage.py runserver never finishes "validating models"

查看:147
本文介绍了Django manage.py runserver从不完成“验证模型”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试遵循django教程。我在windows + eclipse上运行。
当我运行 python manage.py runserver 我收到消息验证模型... 然后看到没有进展...



我做错了什么?

解决方案

我有另一个问题的答案:不能得到django在eclipse + windows中工作



当我使用--noreload选项运行服务器时,我发现有一个抛出的异常。完成后,输出完成,并说:

 验证模型... 
0发现错误

Django版本1.2.1,使用设置'XXX'
开发服务器正在运行http://127.0.0.1:8000/
退出带有CTRL-BREAK的服务器。


I am trying to follow the django tutorial. I am running on windows+eclipse. When I run python manage.py runserver I get the message Validating models... and afterwards see no progress...

Am I doing something wrong?

解决方案

I've got my answer in another question: can't get django to work in eclipse + windows

When I ran the server with the --noreload option, I saw that there's an exception thrown. After I fixed that, the output does complete, and says:

Validating models...
0 errors found

Django version 1.2.1, using settings 'XXX'
Development server is running at http://127.0.0.1:8000/
Quit the server with CTRL-BREAK.

这篇关于Django manage.py runserver从不完成“验证模型”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆