Specifying a namespace in include() without providing an app_name和XXX is not a registered namespace问题
根据回答在blog/url.py中添加了app_name='blog';
app_name = 'blog', urlpatterns = [ path(r'index/', views.index), path(r'article/<int:article_id>/', views.article_page, name='article_page'), ]
随后出现了如下问题,打开index网页后报错: