#NEWLINE# def get( self , * args , **kwargs ) : #NEWLINE# #INDENT# if self . request . user . is_authenticated ( ) : #NEWLINE# #INDENT# return redirect ( self . get_success_url ( ) ) #NEWLINE# #UNINDENT# return super ( LoginView , self ) . get ( * kwargs , ** kwargs )