[Answer]-How I can get User.username and Group.name

1👍

You do not need the groups queryset from the view.

{% for dato in usuarios %}
    {{dato.first_name|title}}
    {% for group in dato.groups.all %}
        {{group.name}}
    {% endfor %}
{% endfor %}

Leave a comment