summaryrefslogtreecommitdiff
path: root/lib/python2.7/site-packages/django/core/wsgi.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python2.7/site-packages/django/core/wsgi.py')
-rw-r--r--lib/python2.7/site-packages/django/core/wsgi.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/python2.7/site-packages/django/core/wsgi.py b/lib/python2.7/site-packages/django/core/wsgi.py
new file mode 100644
index 0000000..edea333
--- /dev/null
+++ b/lib/python2.7/site-packages/django/core/wsgi.py
@@ -0,0 +1,13 @@
+from django.core.handlers.wsgi import WSGIHandler
+
+
+def get_wsgi_application():
+ """
+ The public interface to Django's WSGI support. Should return a WSGI
+ callable.
+
+ Allows us to avoid making django.core.handlers.WSGIHandler public API, in
+ case the internal WSGI implementation changes or moves in the future.
+
+ """
+ return WSGIHandler()