(条件A AND 条件B) OR (条件C AND 条件D)としたいとき
code
hogehoge.objects.filter(Q(条件A, 条件B) | Q(条件C, 条件D))
Go to list of users who liked
Share on X(Twitter)
Share on Facebook
More than 3 years have passed since last update.
(条件A AND 条件B) OR (条件C AND 条件D)としたいとき
hogehoge.objects.filter(Q(条件A, 条件B) | Q(条件C, 条件D))
Register as a new user and use Qiita more conveniently
Go to list of users who liked