title: Reverse for 'add_comment' with arguments '(26, 34)' and keyword arguments '{}' not found. 0 pattern(s) tried: []
body: <p>I know this was asked before several times but I can't find the answer in any of the other questions.I'm getting this error : <code>Reverse for 'add_comment' with arguments '(26, 34)' and keyword arguments '{}' not found. 0 pattern(s) tried: []</code>. </p>
  
  <p>In my <code>views.py</code> I have :</p>
  
  <pre><code>def add_comment(request, product_id, id):
  review = get_object_or_404(Review, pk = id)
  if request.method == 'POST':
      comment_form = CommentForm(request.POST)
      if comment_form.is_valid():
          comment = comment_form.save(commit = False)
          comment.author = request.user.username
          comment.save()
          review.comments.add(comment)
  return HttpResponseRedirect(reverse('view_product', args=[product_id])) 
  </code></pre>
  
  <p>In my <code>urls</code> I have (among other):</p>
  
  <pre><code>url(r'^profile/product/(\d+)/review/(\d+)/comment/$', 'core.views.add_comment', name='add_comment'),
  </code></pre>
  
  <p>and in my template I have : </p>
  
  <pre><code>&lt;div class="comment_form row"&gt;
      &lt;div class="col-sm-offset-2 col-sm-8"&gt;
          &lt;form method = "post" action="{% url 'add_comment' product.id review.id %}"&gt;
              {%csrf_token%}
              {{comment_form|bootstrap}}
              &lt;input type="submit" value ="Comment"&gt;
          &lt;/form&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Please help.. I've been struggling with this for the last few hours.</p>
  
  <p>Thanks</p>