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