mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Fixed #16360 -- Added WSGI entrypoint to startproject layout, and enabled internal servers (runserver and runfcgi) to use an externally-defined WSGI application. Thanks to Armin Ronacher, Jannis Leidel, Alex Gaynor, ptone, and Jacob Kaplan-Moss.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17022 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
dca81ad58a
commit
145a77edc9
34 changed files with 635 additions and 208 deletions
|
@ -504,6 +504,10 @@ supports the FastCGI protocol. See the :doc:`FastCGI deployment documentation
|
|||
</howto/deployment/fastcgi>` for details. Requires the Python FastCGI module from
|
||||
`flup`_.
|
||||
|
||||
.. versionadded:: 1.4
|
||||
Internally, this wraps the WSGI application object specified by the
|
||||
:setting:`WSGI_APPLICATION` setting.
|
||||
|
||||
.. _flup: http://www.saddi.com/software/flup/
|
||||
|
||||
The options accepted by this command are passed to the FastCGI library and
|
||||
|
@ -628,6 +632,10 @@ If you run this script as a user with normal privileges (recommended), you
|
|||
might not have access to start a port on a low port number. Low port numbers
|
||||
are reserved for the superuser (root).
|
||||
|
||||
.. versionadded:: 1.4
|
||||
This server uses the WSGI application object specified by the
|
||||
:setting:`WSGI_APPLICATION` setting.
|
||||
|
||||
DO NOT USE THIS SERVER IN A PRODUCTION SETTING. It has not gone through
|
||||
security audits or performance tests. (And that's how it's gonna stay. We're in
|
||||
the business of making Web frameworks, not Web servers, so improving this
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue