def user_groups(request):
    context = {'user_groups': request.user.groups.values_list('name', flat=
        True)}
    return context

9c2c1007c4ca63f91c52ef62022ba28ed126a9d4
<mask token>

def user_groups(request):
    context = {'user_groups': request.user.groups.values_list('name', flat=
        True)}
    return context
