Skip to content
management commands to run cherrypy as a production / development server for a Django project http://od-eon.com/labs/django-cherrypy-odeon/
Python Shell
Find file
Pull request Compare This branch is 5 commits ahead of od-eon:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
django_cherrypy_odeon
wsgiserver
.gitignore
AUTHORS
LICENSE
README
cherrypy_init_script.debian
cherrypy_init_script.gentoo
cherrypy_server.sh
wsgiserver-odeon.patch

README

django-cherrypy-odeon is a Django app that allows you to run the cherrypy WSGI server as a production or as a development server (replacing the 'runserver' command with a threaded cherrypy instance).

Installation:
- add wsgiserver/ from the cherrypy project in your python path. The bundled version was patched to ignore malformed HTTP headers and to optionally output the served path to mimic devserver's behavior, so it's recommended over the upstream version.
- add django_cherrypy_odeon to INSTALLED_APPS in your settings.py

Usage info:
- "./manage.py runcpserver help" - for the production server
- "./manage.py runserver_cp help" - for the development server

Additional files:
- cherrypy_server.sh - helper script for starting/stopping/restarting the production server. It should stay in the Django project dir
- cherrypy_init_script.debian and cherrypy_init_script.gentoo - example init scripts for Debian and Gentoo using cherrypy_server.sh

This is a fork of django-cpserver ( http://github.com/lincolnloop/django-cpserver ) since before the BSD licence was added so we took the liberty of licensing it under GPLv3.

website: http://od-eon.com/labs/django-cherrypy-odeon/
For technical support questions contact us at developers@od-eon.com

Something went wrong with that request. Please try again.