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 · 192 阅读 · 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 · 4520 阅读 · 0 评论
分享