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)
Start the setup wizard. Redirect if already enabled.
dataset/ETHPy150Open Bouke/django-two-factor-auth/two_factor/views/core.py/SetupView.get