#NEWLINE# def dispatch( self , request , * args , **kwargs ) : #NEWLINE# #INDENT# if ( not request . user . is_authenticated ( ) ) : #NEWLINE# #INDENT# return HttpResponseRedirect ( reverse ( 'login' ) ) #NEWLINE# #UNINDENT# return super ( ) . dispatch ( request , * args , ** self )