title: django delete button for comments?
body: <p>I have problem with deleting comments.
  in my movies_details.html I have</p>
  
  <pre><code>{% render_comment_list for object %}
  </code></pre>
  
  <p>I have rewrited comments/list.html in my project templates folder and it looks like</p>
  
  <pre><code>&lt;div class="comment_start"&gt;
    &lt;div class="comment"&gt;
      &lt;table&gt;
      {% autopaginate comment_list 5 %}
      {% for comment in comment_list %}
        &lt;tr&gt;
          &lt;td&gt;
             {{ comment.comment }} 
          &lt;/td&gt;
          &lt;td&gt;
             (from &lt;strong&gt;&lt;i&gt;&lt;u&gt;{{ comment.user }}&lt;/u&gt;&lt;/i&gt;&lt;/strong&gt; &lt;br&gt; {{ comment.submit_date|timesince }} ago)
             &lt;br&gt;
             {% if user.is_authenticated and comment.user == user %}
               {% url mysite.views.delete_own_comment comment_id=comment.id as delete_url %}
               &lt;a href="{{ delete_url }}"&gt;Delete&lt;/a&gt;
             {% endif %}
          &lt;/td&gt;
        &lt;/tr&gt;
      {% endfor %}
      &lt;/table&gt;
      {% paginate %}
    &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>and in view, path is mysite/views, I have delete_own_comment view</p>
  
  <pre><code>def delete_own_comment(request, comment_id):
      comment = get_object_or_404(Comment, id=comment_id)
      if comment.user.id != request.user.id:
          raise Http404
      perform_delete(request, comment)
  </code></pre>
  
  <p>when I click on delete button it just refreshes the page without deleting the comment and I don't know where is the problem</p>