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.
()
| 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() |