![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
django
1丝清风
这个作者很懒,什么都没留下…
展开
-
Specifying a namespace in include() without providing an app_name runserver发生错误
在app的urls.py 中 添加 from django.urls import path from . import views app_name = 'bblog' urlpatterns = [ path('', views.index),原创 2018-12-27 00:40:01 · 144 阅读 · 0 评论 -
django.urls.exceptions.NoReverseMatch: Reverse for 'myyear' with arguments '(100 0,)' not found.
django.urls.exceptions.NoReverseMatch: Reverse for 'myyear' with arguments '(100 0,)' not found. 1 pattern(s) tried: ['bblog/(?P<year>[0-9]{4}/)'] templates <body> <h1> ni hao <...原创 2018-12-27 23:03:48 · 4423 阅读 · 0 评论