#NEWLINE# def __call__( self , f ) : #NEWLINE# #INDENT# from middleware import PermissionMiddleware #NEWLINE# PermissionMiddleware . add_required_view_permissions ( f , self . perm_names , self . user_func , self . target_func , self . methods ) #NEWLINE# return self