MCPcopy
hub / github.com/django/django / get_wsgi_application

Function get_wsgi_application

django/core/wsgi.py:5–13  ·  view source on GitHub ↗

The public interface to Django's WSGI support. Return a WSGI callable. Avoids making django.core.handlers.WSGIHandler a public API, in case the internal WSGI implementation changes or moves in the future.

()

Source from the content-addressed store, hash-verified

3
4
5def get_wsgi_application():
6 """
7 The public interface to Django's WSGI support. Return a WSGI callable.
8
9 Avoids making django.core.handlers.WSGIHandler a public API, in case the
10 internal WSGI implementation changes or moves in the future.
11 """
12 django.setup(set_prefix=False)
13 return WSGIHandler()

Callers 4

test_wsgi_cookiesMethod · 0.90
test_file_wrapperMethod · 0.90

Calls 2

WSGIHandlerClass · 0.90
setupMethod · 0.45

Tested by 3

test_wsgi_cookiesMethod · 0.72
test_file_wrapperMethod · 0.72