#NEWLINE# def get( self , request , * args , **kwargs ) : #NEWLINE# #INDENT# 'Process get request.' #NEWLINE# if request . user . is_authenticated ( ) : #NEWLINE# #INDENT# if request . user . groups . all ( ) . exists ( ) : #NEWLINE# #INDENT# return HttpResponseRedirect ( reverse ( 'threads' ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return HttpResponseRedirect ( reverse ( 'groups' ) ) #NEWLINE# #UNINDENT# #UNINDENT# return super ( WelcomeView , self ) . get ( request , * args , ** kwargs )