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 details)

Uploaded Source

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

Hashes for tordjango-0.1.tar.gz
Algorithm Hash digest
SHA256 ab79cc98e3c1eae36dfa69617cecfa5367d8f1f79364d5522c82616e8f58c166
MD5 d4454b80c4e24c640fded507a241c09b
BLAKE2b-256 577e98578a3514602ce0f6fafde25ba80f3bb7e7f8db234ebcfce8b35dd62f6f

See more details on using hashes here.

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