I want to iterate over 2 sets of data and display values in my template.
I have something like that:
{% for email,phone in user.email_set.all, user.phone_set.all %}
{{email}} {{phone}}
{% endfor %}
Unfortunately I get TemplateSyntaxError:
'for' statements should use the format 'for x in y'
Is there a way I can do it?