I am just starting out with Django and I am messing around just trying to pull a full list of users from postgres.
I used the following code:
group =
from django.contrib.auth import get_user_model user = get_user_model() user.objects.all()