take out object from query django code example Example: django delete object SomeModel.objects.filter(id=id).delete()