Tested for Django 1.6-2.2
[django-sponsors.git] / example_project / core / wsgi.py
diff --git a/example_project/core/wsgi.py b/example_project/core/wsgi.py
new file mode 100644 (file)
index 0000000..fb78e28
--- /dev/null
@@ -0,0 +1,16 @@
+"""
+WSGI config for core project.
+
+It exposes the WSGI callable as a module-level variable named ``application``.
+
+For more information on this file, see
+https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/
+"""
+
+import os
+
+from django.core.wsgi import get_wsgi_application
+
+os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'core.settings')
+
+application = get_wsgi_application()