美文网首页工作生活
Django,执行Python manage.py runser

Django,执行Python manage.py runser

作者: 小鬼客 | 来源:发表于2019-07-01 20:14 被阅读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
    

    相关文章

      网友评论

        本文标题:Django,执行Python manage.py runser

        本文链接:https://www.haomeiwen.com/subject/dmgncctx.html