当我启动开发中的Django站点时,我收到以下消息:
System check identified no issues (0 silenced).
August 15, 2017 - 12:03:00
Django version 1.11.3, using settings 'mysite.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
只需单击提供的链接就可以了。但是,127.0.0.1不是我允许的主机之一,所以它不能工作。我可以设置或覆盖此消息以使其使用有效链接吗?在
From the runserver documentation:
因此,您可以简单地使用:
相关问题 更多 >
编程相关推荐