blob: 35e0fa8e80fe280d02b90f9516e4f3839593fb39 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import django
from django.core.handlers.wsgi import WSGIHandler
def 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.
"""
django.setup(set_prefix=False)
return WSGIHandler()
|