Comparison if equal

{% ifequal user.pk comment.user_id %}
...
{% endifequal %}