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