def get(self, request, *args, **kwargs): if request.user.is_authenticated(): return WebAppView.as_view()(request) else: return super(PresentationView, self).get(request, *args, **kwargs)
def get(self, request, *args, **kwargs): if request.user.is_authenticated(): return WebAppView.as_view()(request) else: return super(LandingPage, self).get(request, *args, **kwargs)