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.
=====================
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
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 details)
File details
Details for the file tordjango-0.1.tar.gz
.
File metadata
- Download URL: tordjango-0.1.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab79cc98e3c1eae36dfa69617cecfa5367d8f1f79364d5522c82616e8f58c166 |
|
MD5 | d4454b80c4e24c640fded507a241c09b |
|
BLAKE2b-256 | 577e98578a3514602ce0f6fafde25ba80f3bb7e7f8db234ebcfce8b35dd62f6f |