DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
django models filter(x in list)
modelname.objects.filter(pk__in=[1, 4, 7])
PREVIOUS
NEXT
Tagged:
#django
#models
ADD COMMENT
Topic
COMMENT
Name
7+3 =
Submit