def get(self, request, app_id):
        app = Application.objects.get(pk=app_id)

        tokens = AccessToken.objects.filter(
            user=self.request.user,
            application=app
        )
        if tokens:
            tokens.delete()
            messages.success(self.request, "The connection has been deleted.")

        url = reverse('admin:app_connected')
        return HttpResponseRedirect(url)
Delete one or more keys specified by ``key``
dataset/ETHPy150Open ExCiteS/geokey/geokey/applications/views.py/ApplicationDisconnect.get--crossover with--dataset/ETHPy150Open gmr/mredis/mredis/client.py/MRedis.delete