diff searchProxy/wsgi.py @ 0:af2f8fe486f6 default tip

initial
author Dirk Wintergruen <dwinter@mpiwg-berlin.mpg.de>
date Tue, 17 Feb 2015 12:44:40 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/searchProxy/wsgi.py	Tue Feb 17 12:44:40 2015 +0100
@@ -0,0 +1,14 @@
+"""
+WSGI config for searchProxy 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.7/howto/deployment/wsgi/
+"""
+
+import os
+os.environ.setdefault("DJANGO_SETTINGS_MODULE", "searchProxy.settings")
+
+from django.core.wsgi import get_wsgi_application
+application = get_wsgi_application()