阅读背景:

与参数'()'和关键字参数'{'slug':}' '' '' ' . '' '' '' . '' '' . '' '' '' '' '' . '' '' . '' '' '' . '' '' ''1模式(s)尝试:['交易/(? P \ \ d +)/美元)

来源:互联网 

I have created post_create and post_detail views for my Post model Using Django. I wanted to create slug for new post so that after clicking some post in my post_list he can redirect to post_detail with generating an unique slug. When i a running my server, it raises: Reverse for 'detail' with arguments '()' and keyword arguments '{'slug': ''}' not found. 1 pattern(s) tried: ['deal/(?P\d+)/$']. If anyone has any pointers on what could be causing this error I would most appreciate it.I have created post_create and post_detail view




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: