Skip to main content

Run a production-ready server from

Project description


Run a production-ready server from!

This Django app just provides a management command that serves your Django project using Waitress, a production-ready and `Heroku-friendly <heroku>`_ WSGI server.

.. _heroku:


.. code-block:: sh

# Serve on
python serve --host --port 7000

# Serve on the Unix socket /var/run/myapp
python serve --unix /var/run/myapp

# Serve on the host defined by WAITRESS_HOST
# and the port defined by WAITRESS_PORT
# in
# (defaults to localhost:8000)
python serve


You could just install Waitress itself, and run the ``waitress-serve`` command it provides, pointing to your ```` file; the only thing that this project does is provide a Django management command, and remove the need for a ```` in your project.


This project was extracted from `CMV's cookiecutter-django <ccdj>`_

.. _ccdj:

.. raw:: html

<p xmlns:dct="" xmlns:vcard="">
<a rel="license"
<img src="" style="border-style: none;" alt="CC0" />
<br />
To the extent possible under law,
<span resource="[_:publisher]" rel="dct:publisher">
<span property="dct:title">Commercial Motor Vehicles Pty Ltd</span></span>
have waived all copyright and related or neighboring rights to
<span property="dct:title">cookiecutter-django</span>.
This work is published from:
<span property="vcard:Country" datatype="dct:ISO3166"
content="AU" about="[_:publisher]">

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

django-waitress-0.1.0.tar.gz (5.0 kB view hashes)

Uploaded source

Built Distribution

django_waitress-0.1.0-py2.py3-none-any.whl (10.3 kB view hashes)

Uploaded py2 py3

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