Created
February 1, 2017 22:30
-
-
Save hammadzz/acf4e4c216e5511f8c4d6e45814c0f5a to your computer and use it in GitHub Desktop.
List users on django
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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