Django is a versatile web development framework written in the Python programming language. The framework allows for rapid development while encouraging good coding practices. Applications written in Django can be hosted on Apache with the use of the mod_wsgi
module.
This recipe will demonstrate how to set up your server to host a Django application. Other Python applications supporting mod_wsgi
can be set up in a similar fashion. This includes applications such as MoinMoin, PyBlosxom, Trac, and other frameworks such as CherryPy, Pylons, TurboGears, Pyramid, web.py, Werkzeug, Web2Py, and Zope.
Install the Apache web server by following the Installing Apache on your system recipe in Chapter 8, Running an Apache Web Server.