def get(self, request, *args, **kwargs):
        if default_device(self.request.user):
            return redirect(self.redirect_url)
        return super(SetupView, self).get(request, *args, **kwargs)
Handle one request at a time until shutdown.
dataset/ETHPy150Open Bouke/django-two-factor-auth/two_factor/views/core.py/SetupView.get--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/test/testcases.py/StoppableWSGIServer.serve_forever