[TimLinux] myblog 创建第一个app

1. 初始myblog

项目地址:https://github.com/timscm/myblog

2. 启动项目

通过pycharm启动项目,进入调试模式:

"D:\Program Files\JetBrains\PyCharm 2018.1.3\bin\runnerw.exe" C:\Python365\python.exe "D:\Program Files\JetBrains\PyCharm 2018.1.3\helpers\pydev\pydevd.py" --multiproc --qt-support=auto --client 127.0.0.1 --port 51807 --file D:/pycharm/myblog/manage.py runserver 8000
pydev debugger: process 11624 is connecting

Connected to pydev debugger (build 181.4892.64)
pydev debugger: process 4136 is connecting

Performing system checks...

System check identified no issues (0 silenced).

You have 14 unapplied migration(s). Your project may not work properly until you apply the migrations for app(s): admin, auth, contenttypes, sessions.
Run 'python manage.py migrate' to apply them.
June 03, 2018 - 22:08:49
Django version 2.0.5, using settings 'myblog.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CTRL-BREAK.
View Code

访问:http://127.0.0.1:8000/

猜你喜欢

转载自www.cnblogs.com/timlinux/p/9130804.html