求解,步骤与视频一致,Django版本不一样,要怎么处理??
页面出现如下问题:
Page not found (404)
Request Method:
GETRequest URL:
http://localhost:8000/blog/article/1Using the URLconf defined in myblog.urls, Django tried these URL patterns, in this order:
admin/
blog/ index/
blog/ article/(?P<article_id>[0-9]+)
blog2/
The current path, blog/article/1, 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.