1、exclude 和filter鏈式調用. results = Model.objects.exclude(a=true).filter(x=5). 2、使用Q() objects 和~ 運算符. from django.db.models ...
確定! 回上一頁