django filter __in用法

参考:
https://zhuanlan.zhihu.com/p/626812818

Blog.objects.filter(id__in=[1,2,3])

你可能感兴趣的:(django,filter,__in)