Page not found (404)

没有找到符合查询的 文章
Request Method: GET
Request URL: http://www.shimon.cn/article/2019/10/30/9.html
Raised by: blog.views.ArticleDetailView

Using the URLconf defined in djangoblog.urls, Django tried these URL patterns, in this order:

  1. ^admin/
  2. [name='index']
  3. page/<int:page>/ [name='index_page']
  4. article/<int:year>/<int:month>/<int:day>/<int:article_id>.html [name='detailbyid']

The current path, article/2019/10/30/9.html, matched the last one.

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.