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