Skip to content

Commit

Permalink
Use product.get_absolute_url in dashboard review list instead of the …
Browse files Browse the repository at this point in the history
…URL template tag (#3513)
  • Loading branch information
MaziyarMK committed Sep 25, 2020
1 parent 31c935c commit 744e144
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -70,7 +70,7 @@ <h3 class="pull-left"><i class="icon-thumbs-up icon-large"></i>{{ description }}
</td>
<td>
{% if review.product %}
<a href='{% url 'catalogue:detail' product_slug=review.product.slug pk=review.product.id %}'>{{ review.product.title }}</a> </td>
<a href='{{ review.product.get_absolute_url }}'>{{ review.product.title }}</a> </td>
{% else %}
{% trans "[Product deleted]" %}
{% endif %}
Expand Down

0 comments on commit 744e144

Please sign in to comment.