Python Web开发系列课程之——使用PyCharm创建你的

2017-07-28  本文已影响6059人  雪莉说

【前置课程】你的第一个Django项目工欲善其事必先利其器

本课程将通过PyCharm来创建Django项目,并启动Web服务。

PyCharm 图标 New Project 引导页面 Project 编辑页面 启动Web服务操作页 启动Web服务操作页 Web服务启动后页面
"E:\Program Files\JetBrains\PyCharm 2017.1.3\bin\runnerw.exe" D:\Python27\python.exe E:/python/PycharmProjects/mysite/manage.py runserver 8000

Performing system checks...

System check identified no issues (0 silenced).

You have unapplied migrations; your app may not work properly until they are applied.

Run 'python manage.py migrate' to apply them.

July 28, 2017 - 14:24:12

Django version 1.9.5, using settings 'mysite.settings'

Starting development server at [http://127.0.0.1:8000/](http://127.0.0.1:8000/)

Quit the server with CTRL-BREAK.

(从目录结构分析试试呢?)

mysite/
    manage.py
    mysite/
        __init__.py
        settings.py
        urls.py
        wsgi.py
上一篇下一篇

猜你喜欢

热点阅读