Django中ORM之或語句查詢

好比數據庫表中有顯示器1和顯示器2,那麼如何在django中模糊查詢出顯示器1和顯示器2呢html 首先導入模塊python from django.db.models import Q class GetDisplay(View): class GetDisplay(View): def post(self, request): display = request.POST.get('
相關文章
相關標籤/搜索