Django,执行Python manage.py runser
2019-07-01 本文已影响0人
小鬼客
报错信息:
Performing system checks...
System check identified no issues (0 silenced).
You have 13 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.
July 01, 2019 - 20:09:11
Django version 1.11.11, using settings 'books.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CTRL-BREAK.
Error: [WinError 10013] 以一种访问权限不允许的方式做了一个访问套接字的尝试。
原因:
这种的启动方式,Django默认启动的8000端口,而上述的问题是: 8000端口被占用导致的,更换端口即可解决
python manage.py runserver 8080