Created
May 29, 2021 14:54
-
-
Save sankalpjonn/e22632a5ff387e1de1d30311133709c2 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
>>> Record.objects.filter(is_deleted=False).values('name') | |
<QuerySet [{'name': 'First record'}, {'name': 'Second Record'}, {'name': 'Third Record'}]> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment