最佳答案
I have a model MyModel
with a boolean field active
Elsewhere, I am retrieving a queryset:
qs = MyModel.Objects.filter(....)
how can I set active=False
for all objects in this qs
?