Skip to main content

Simple management command to serve Django via Tornado

Project description

TorDjango
=====================

This is a simple management command that serves a Django project using Tornado.

python manage.py runtornado [8000, 8001, ...]

Requirements
------------

- Django
- Tornado

`runtornado` Command
--------

The management command `runtornado` takes the following arguments:

- `--reload`: Use code change auto-reloader
- `--static`: Serve static files
- `--multiple`: Use multiple processes (one per CPU core; `--reload`
will be ignored)

Note: `--multiple` requires that the Tornado ioloop be uninitialized
before the management command completes. If it has already been
initialized (say, by an application that's adding callbacks somewhere),
the server will fail to start. `--multiple` is incompatible with the
code reloader, and `--reload` will be ignored.

TODO
----

- Configuration option for specifying additional Tornado handlers.

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tordjango-0.1.tar.gz (3.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page