Skip to content

Instantly share code, notes, and snippets.

@hammadzz
Created February 1, 2017 22:30
Show Gist options
  • Save hammadzz/acf4e4c216e5511f8c4d6e45814c0f5a to your computer and use it in GitHub Desktop.
Save hammadzz/acf4e4c216e5511f8c4d6e45814c0f5a to your computer and use it in GitHub Desktop.
List users on django
from django.contrib.auth import get_user_model
UserModel = get_user_model()
UserModel.objects.all()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment