报错信息: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]+/$)']
正则表达式错误