{% load socialaccount %} {% load socialaccount_extra %} {% get_other_social_providers user as other_providers %} {% for provider in other_providers %} {% if provider.id == "openid" %} {% for brand in provider.get_brands %} {{brand.name}} {% endfor %} {% endif %}
{% endfor %}