def setup_helpers_and_globals(self): """Add helpers and globals objects to the config. Override this method to customize the way that ``app_globals`` and ``helpers`` are setup. """ config['pylons.app_globals'] = self.package.lib.app_globals.Globals() g = config['pylons.app_globals'] g.dotted_filename_finder = DottedFileNameFinder()
def setup_helpers_and_globals(self): tg.config['tg.app_globals'] = self.globals g = tg.config['tg.app_globals'] g.dotted_filename_finder = DottedFileNameFinder()