【发布时间】:2015-01-12 09:00:42
【问题描述】:
我将我的 Django 应用程序从 1.4.3 迁移到 1.7.1 我让它工作了一会儿 但现在每次我尝试运行开发服务器时都会卡住:
C:\Users\DAVID\Documents\TinyTap-web\tinytap>python manage.py runserver
Performing system checks...
System check identified some issues:
WARNINGS:
?: (1_6.W001) Some project unittests may not execute as expected.
HINT: Django 1.6 introduced a new default test runner. It looks like this project was generated using Django 1.5 or earlier. You should ensure
. See https://docs.djangoproject.com/en/dev/releases/1.6/#new-test-runner for more information.
System check identified 1 issue (0 silenced).
本地主机不工作,也尝试了其他 IP/端口 = 相同的结果。
我可以通过将TEST_RUNNER = 'django.test.runner.DiscoverRunner' 添加到设置文件来消除此警告,但开发服务器仍然没有运行
【问题讨论】:
-
这是一个警告,而不是错误,并且不会阻止开发服务器运行。
-
“修复”警告后的错误是什么?
./manage.py runserver的输出是什么? -
sax-它正在执行系统检查...系统检查未发现任何问题(0 静音)。
标签: django django-1.7 manage.py