Django (web Framework) - Server Arrangements

Server Arrangements

Django can be run in conjunction with Apache, NGINX using WSGI or Cherokee using flup (a Python module). Django also includes the ability to launch a FastCGI server, enabling use behind any web server which supports FastCGI, such as Lighttpd or Hiawatha. It is also possible to use other WSGI-compliant web servers. Django officially supports four database backends: PostgreSQL, MySQL, SQLite, and Oracle. Microsoft SQL Server can be used with django-mssql but only in Microsoft operating systems, while similarly external backends exist for IBM DB2, SQL Anywhere and Firebird. There is a fork named django-nonrel which supports NoSQL databases, such as MongoDB and Google App Engine's Datastore.

Django may also be run in conjunction with Jython on any Java EE application server such as GlassFish or JBoss. In this case django-jython must be installed in order to provide JDBC drivers for database connectivity, which also provides functionality to compile Django in to a .war suitable for deployment.

Versions of Django prior to 1.0 had multithreading issues. Users running such a version should use it in a single-threaded server configuration, such as with Apache prefork MPM using mod_python, or the embedded mode of mod_wsgi. Although Django 1.0 is principally believed to now be thread safe, some minor threading issues are still occasionally being found; it may be prudent to continue to use a single-threaded server configuration and/or stay current with Django releases and notices about the multithreading issues.

Google App Engine includes support for Django version 1.x.x as one of the bundled frameworks.

Read more about this topic:  Django (web Framework)

Famous quotes containing the word arrangements:

    Autonomy means women defining themselves and the values by which they will live, and beginning to think of institutional arrangements which will order their environment in line with their needs.... Autonomy means moving out from a world in which one is born to marginality, to a past without meaning, and a future determined by others—into a world in which one acts and chooses, aware of a meaningful past and free to shape one’s future.
    Gerda Lerner (b. 1920)