how to delete object in django code example Example: delete model object django SomeModel.objects.filter(id=id).delete()