plo*_*loo 2 python django python-2.7
我开始涉足Django,并且遇到教程问题(https://docs.djangoproject.com/en/1.7/intro/tutorial01/)
我已经成功安装了框架.运行migrate命令后,使用以下命令启动服务器:
python manage.py runserver
Run Code Online (Sandbox Code Playgroud)
Powershell输出:
System check identified no issues (0 silenced).
November 27, 2014 - 16:32:54
Django version 1.7.1, using settings 'mysite.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CTRL-BREAK.
Run Code Online (Sandbox Code Playgroud)
所以一切似乎都运转正常.教程告诉我:
现在服务器正在运行,请访问
http://127.0.0.1:8000/您的Web浏览器.你会看到一个"欢迎来到Django"的页面,令人愉悦的浅蓝色粉彩.有效!
但是当我转到该链接时,我会在浏览器上显示以下消息:
错误
所请求的网址无法检索
在尝试检索网址时:
http://127.0.0.1:8000/遇到以下错误:
连接到127.0.0.1失败系统返回:
Run Code Online (Sandbox Code Playgroud)(111) Connection refused The remote host or network may be down. Please try the request again.您的缓存管理员是root用户.
我是网络开发的新手,所以我为问一个新手的错误而道歉,我似乎无法在网上找到django教程的这个问题,所以我必须拉一个认真的菜鸟动作!
提前致谢!
| 归档时间: |
|
| 查看次数: |
1594 次 |
| 最近记录: |