update model attributes django code example Example: django update model Model.objects.filter(id = 223).update(field1 = 2)