运行cherrypy web服务器的django run server类命令


django-cpserver的Python项目详细描述

cpserver是一个django应用程序,旨在解决简单但有用的问题 任务:在cherrypy webserver下运行django项目。它包含两个 命令:

  • runcpdebug, which outputs information about each request (in format, similar to Apache’s access_log). It is useful as replacement for regular runserver command.
  • runcpserver, which is quite silent (it only tells you configuration after starting). It is useful for running as backend for Nginx or HAProxy or whatever you’d like to use.

安装

很简单:将cpserver目录放在python的sys.path下(in 站点包或在django项目树结构中),并将'cpserver'添加到 已安装的应用程序设置。

谢谢

感谢djangocerise项目,我从中获取了初始代码。

推荐PyPI第三方库


热门话题
didery gurobipy mendez pc2 illustrator hpss ygor websub 执行器 pyv8 table 方括号 mephisto 玫瑰花 pes 内部测试 crystallographic email 化类 访问者 monke events xlib elasticstats sheetsync jsonfeed datatest zipfiles lpush dso brakeman tproxy modification pymorphy yopenapi pbar 逐页 pediatrics ion pymodes pe 制裁 data1 registers twitterbot memory 声明 silverapp 曲流 openai