how to delete an item from query django code example Example: delete model object django SomeModel.objects.filter(id=id).delete()