from myapp.models import MyModel
# Create a queryset to filter the records you want to update
queryset = MyModel.objects.filter(some_condition=True)
# Update the selected records
queryset.update(field_to_update=new_value)