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