Tested for Django 1.7-1.11
[django-migdal.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..f4b141d
--- /dev/null
@@ -0,0 +1,14 @@
+"""
+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/1.6/howto/deployment/wsgi/
+"""
+
+import os
+os.environ.setdefault("DJANGO_SETTINGS_MODULE", "core.settings")
+
+from django.core.wsgi import get_wsgi_application
+application = get_wsgi_application()