def __init__(self, bus: Bus, settings_module: str = 'settings',
wsgi_http_logger: type = HTTPLogger,
local_settings: Settings = None) -> None:
""" CherryPy engine plugin to configure and mount
the Django application onto the CherryPy server.
"""
plugins.SimplePlugin.__init__(self, bus)
self.settings_module = settings_module
self.wsgi_http_logger = wsgi_http_logger
self.crawler_settings = local_settings
评论列表
文章目录