Skip to content
Browse files

modernize wsgi entry point

  • Loading branch information...
1 parent 1243e2a commit abc8914cc6dcdee3c01476b7016085fe193a0ae1 @lukeman lukeman committed Jul 12, 2012
Showing with 4 additions and 9 deletions.
  1. +4 −9 symposion_project/wsgi.py
View
13 symposion_project/wsgi.py
@@ -1,11 +1,6 @@
-from django.core.handlers.wsgi import WSGIHandler
+import os
-import pinax.env
+os.environ.setdefault("DJANGO_SETTINGS_MODULE", "symposion_project.settings")
-
-# setup the environment for Django and Pinax
-pinax.env.setup_environ(__file__)
-
-
-# set application for WSGI processing
-application = WSGIHandler()
+from django.core.wsgi import get_wsgi_application
+application = get_wsgi_application()

0 comments on commit abc8914

Please sign in to comment.
Something went wrong with that request. Please try again.