Created
May 2, 2019 21:53
-
-
Save valerybriz/3752488ee45fedbbb63656a3c986361d to your computer and use it in GitHub Desktop.
Create the query filtering teams named tigers
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
# Create the query filtering teams named tigers | |
team = Team.objects.get(name="tigers") | |
team.users.all() # query performed | |
team.users.all() # query performed again |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment