1👍
I advice you to print the count of these models by using “count” keyword.
After getting count information, you can add count check condition to your “if check”
for example:
{% if data.occupation and data.occupation.count > 1 ... %}
<p>bla bla</p>
{% else%}
<p>bla bla</p>
{%endif%}
Source:stackexchange.com