HTTP server that implements the Python WSGI protocol (PEP 333, rev 1.21). Based on wsgiref.simple_server which is part of the standard library since 2.5. This is a simple server for use in testing or debugging Django apps. It hasn't been reviewed for security issues. DON'T USE IT FOR PRODUCTION USE!
Class |
|
No class docstring; 0/1 class variable, 1/3 method documented |
Class |
|
A threaded version of the WSGIServer |
Class |
|
No class docstring; 0/5 instance variable, 0/1 class variable, 1/5 method documented |
Class |
|
BaseHTTPServer that implements the Python WSGI protocol |
Function | get |
Load and return the WSGI application as configured by the user in ``settings.WSGI_APPLICATION``. With the default ``startproject`` layout, this will be the ``application`` object in ``projectname/wsgi. |
Function | is |
Undocumented |
Function | run |
Undocumented |
Variable | logger |
Undocumented |
Load and return the WSGI application as configured by the user in ``settings.WSGI_APPLICATION``. With the default ``startproject`` layout, this will be the ``application`` object in ``projectname/wsgi.py``. This function, and the ``WSGI_APPLICATION`` setting itself, are only useful for Django's internal server (runserver); external WSGI servers should just be configured to point to the correct application object directly. If settings.WSGI_APPLICATION is not set (is ``None``), return whatever ``django.core.wsgi.get_wsgi_application`` returns.