6👍
✅
ifequal is deprecated… but I think that this works:
{% ifequal user.userprofile_set.get.type "student" %}
You're a student!
{% endifequal %}
👤Goin
Source:stackexchange.com