how to update data in database using django code example Example: django update model Model.objects.filter(id = 223).update(field1 = 2)