def make_wdg_validate_middleware(app, global_conf, wdg_path='validate'):
 return WDGValidateMiddleware(app, global_conf, wdg_path=wdg_path)

def make_wdg_validate_middleware ( app , global_conf , wdg_path = 'validate' ) : return WDGValidateMiddleware ( app , global_conf , wdg_path = wdg_path )
wraps the application in the wdg validator from URL validation errors are appended to the text of each page .