def __init__(self, root_namespace, config=None): from quixote.config import Config if type(root_namespace) is types.StringType: root_namespace = _get_module(root_namespace) self.namespace_stack = [root_namespace] if config is None: config = Config() directory = RootDirectory(root_namespace, self.namespace_stack) _Publisher.__init__(self, directory, config=config)
def __init__(self, root_directory, logger=None, session_manager=None, config=None, **kwargs): Publisher.__init__(self, root_directory, logger, session_manager, config, **kwargs) self._request_dict = {} del self._request
def __init__(self, package, **kwargs): Publisher.__init__(self, package, **kwargs) # may be overwritten self.logger.error_log = self.__error_log = ErrorLog(self) self.__apache_request = None
def __init__(self, *args, **kw): Publisher.__init__(self, *args, **kw) self._request_dict = {}
def __init__(self, *args, **kwargs): Publisher.__init__(self, *args, **kwargs) self.configure(DISPLAY_EXCEPTIONS='plain', SECURE_ERRORS=0, UPLOAD_DIR=get_tmpdir() + '/upload/')
def __init__(self, *args, **kwargs): Publisher.__init__(self, *args, **kwargs)
def __init__ (self,root_namespace,logger=None,session_manager=None,config=None): Publisher.__init__(self, root_namespace,logger,session_manager, config) self._request_dict = {}