django retrieve list of users code example Example: get list of users django from django.contrib.auth.models import User users = User.objects.values()