|
|

楼主 |
发表于 2018-10-10 16:52:32
|
显示全部楼层
也不是,我也访问了 你说的那个路经,也是同样的错误。
还有就是我有好几个模块,其中还有一个模块的路经配置如下,报错也是说下面的路经找不到。
- urlpatterns = [
- path('admin/', admin.site.urls),
- path('polls/', include('polls.urls')),
- ]
复制代码
- Page not found (404)
- Request Method: GET
- Request URL: http://127.0.0.1:8000/
- Using the URLconf defined in mysite.urls, Django tried these URL patterns, in this order:
- admin/
- polls/
- 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.
复制代码 |
|