How to use Django with uWSGI

Image of the article: How to use Django with uWSGI

Prerequisite: uWSGI


The uWSGI wiki describes several installation procedures. Using pip, the Python package manager, you can install any uWSGI version with a single command. For example:


# Install current stable version.

$ pip install uwsgi


# Or install LTS (long term support).

$ pip install


uWSGI model


uWSGI operates on a client-server model. Your Web server (e.g., nginx, Apache) communicates with a django-uwsgi “worker” process to serve dynamic content.


Configuring and starting the uWSGI server for Django


uWSGI supports multiple ways to configure the process. See uWSGI’s configuration documentation...

(Continue reading here: )