#NEWLINE# @ method_decorator ( has_permission_decorator ( 'permission2' ) ) #NEWLINE# def dispatch( self , request , * args , **kwargs ) : #NEWLINE# #INDENT# return super ( HasPermissionDetailView , self ) . dispatch ( request , * args , ** args )