modernize wsgi entry point

This commit is contained in:
Luke Hatcher 2012-07-12 01:07:31 -04:00
parent 1243e2a8ab
commit abc8914cc6

View file

@ -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()