user_image
By  不会变天鹅的小丑丫    On   2018年10月26日 10:41

我也遇到同样的问题,python版本是3.6.6,django版本是1.11.16,运行程序后在浏览器中输入http://127.0.0.1:8000报错Page not found,如下: Page not found (404) Request Method: GET Request URL: http://127.0.0.1:8000/ Using the URLconf defined in DjProDemo.urls, Django tried these URL patterns, in this order: ^polls ^my/set/ The empty path didn't match any of these. You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 404 page.