如何访问运行在虚拟机里面的Django开发服务器
现象
在虚拟机环境中用pip
命令装完django的你是不是急着用python manage.py runserver
来启动django
的开发服务器想看一下你写的Hello world!
是否成功了,在命令运行完看到了下面的提示后:
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.
December 24, 2018 - 15:50:53
Django version 2.1, using settings 'mysite.settings'
Starting development server at http://127.0.0.
… 阅读更多