Skip to main content

get_wsgi_application

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.

def get_wsgi_application() - > WSGIHandler

The public interface to Django's WSGI support. Return a WSGI callable.

Returns

TypeDescription
WSGIHandlerA WSGI callable instance used by web servers to communicate with the Django application.