Run Django development server with Gunicorn.
Project description
Run Django development server with Gunicorn.
Quickstart
Install django-gunicorn:
pip install djgunicorn
Then add it to your INSTALLED_APPS. You will get a new command gunserver (please forgive my little pun-loving self). This command runs like Django’s development server, but the HTTP handling is backed by Gunnicorn.
Features
You can find available options with:
python manage.py help gunserver
Most options work as the built-in runserver command (in django.contrib.staticfiles). Exceptions:
The verbosity and no-color settings are not passed to Gunicorn. They will still affect messages emitted by the command itself, however.
The nothreading option does not do anything.
Todo
Unit tests and CI.
Check depedency versions.
History
0.1.1 (2016-04-11)
Lazy-load WSGI handler in Gunicorn application to avoid race conditions.
0.1.0 (2016-04-11)
First release on PyPI.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file djgunicorn-0.1.1.tar.gz
.
File metadata
- Download URL: djgunicorn-0.1.1.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0a4b44f377ddec7d8b2ec6f7ce6ab798432d5e0e8e1384873de7a687031a4c5 |
|
MD5 | 1688722682e00de3d92e9059a275783a |
|
BLAKE2b-256 | 56500cfa11e741bf650fb2356389559236b08f2df66c99a03a249cb9482d0090 |