报错信息:django.urls.exceptions.NoReverseMatch: Reverse for 'detail' with keyword arguments '{'pk': 4}' not found. 1 pattern(s) tried: ['post/(?P<pk>[0-9]+/$)']

django.urls.exceptions.NoReverseMatch: Reverse for 'detail' with keyword arguments '{'pk': 4}' not found. 1 pattern(s) tried: ['post/(?P<pk>[0-9]+/$)']

 

正则表达式错误

posted on 2018-01-06 15:58  为数不多的那几年  阅读(1051)  评论(0编辑  收藏  举报

导航