def test_update_multiple_fields(self):
        resp = DataPoint.objects.filter(value="apple").update(
            value="fruit", another_value="peach")
        self.assertEqual(resp, 1)
        d = DataPoint.objects.get(name="d0")
        self.assertEqual(d.value, u'fruit')
        self.assertEqual(d.another_value, u'peach')
Multiple fields can be updated at once
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/tests/modeltests/update/tests.py/AdvancedTests.test_update_multiple_fields