Comparison if equal
- Answer
{% ifequal user.pk comment.user_id %}
...
{% endifequal %}
This question is one of 13 in Django template tags and filters. Test yourself on all of them.
Practice quiz FlashcardsLog in to add an explanation.
Advertisement
{% ifequal user.pk comment.user_id %}
...
{% endifequal %}
This question is one of 13 in Django template tags and filters. Test yourself on all of them.
Practice quiz FlashcardsLog in to add an explanation.
Advertisement