在该目录下运行python manage.pyrunserver,启动server,会看到,Django version 1.11.1, using settings ‘judypython.settings‘ Starting development server at http://127.0.0.1:8000/ Quit the server with CONTROL-C. [09/Jun/2017 02:47:27] "GET / HTTP/1.1" 200 1716 Not Found: /favicon.ico [09/Jun/2017 02:47:27] "GET /favicon.ico HTTP/1.1" 404 1966
用127.0.0.1:8000来查看效果,会有消息,
It worked! Congratulations on your first Django-powered page. Next, start your first app by running python manage.pystartapp [app_label]. You‘re seeing this message because you have DEBUG = True in your Django settings file and you haven‘t configured any URLs. Get to work!