예제 #1
0
 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)
예제 #2
0
파일: views.py 프로젝트: marcio0/niqels
 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)
예제 #3
0
 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)
예제 #4
0
파일: views.py 프로젝트: marcio0/niqels
 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)