Debian Codegraph @

django/core/wsgi.py

raw
1 import django
2 from django.core.handlers.wsgi import WSGIHandler
3
4
5 def 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()