With django auth group and user models, I want to query all groups with their users. (user_id list would be fine).
I tried
Group.objects.all().select_related('user')
But it isn't working:
FieldError: Invalid field name(s) given in select_related: 'user'. Choices are: (none)