Reverse for 'delblog' with arguments '(4,)' and keyword arguments '{}' not found.
22 <div class="span2 offset7">
23 <a href="{% url "delblog" blog.id %}" title="delete"><i class="icon-trash"></i></a>
24 <a href="{% url "updateblog" blog.id %}" title="edit"><i class="icon-edit"></i></a>
25 {% get_comment_count for blog as comment_count %}
26 <a href="{% url "detailblog" blog.id %}#cmt" title="comment"><i class=" icon-comment"></i>{{ comment_count }}</a>
27 </div>
而删除line23 和line 25后,页面可以显示而不报错:
22 <div class="span2 offset7">
23
24 <a href="{% url "updateblog" blog.id %}" title="edit"><i class="icon-edit"></i></a>
25
26 <a href="{% url "detailblog" blog.id %}#cmt" title="comment"><i class=" icon-comment"></i>{{ comment_count }}</a>
27 </div>
很奇怪,这个问题会是跟django的版本有关么
而删除line23 和line 25后,页面可以显示而不报错:
很奇怪,这个问题会是跟django的版本有关么