Commit c7a64200 authored by Slack's avatar Slack

update wsgi module to new style

parent 868dbac8
......@@ -22,11 +22,8 @@
# SOFTWARE.
import os
import site
site.addsitedir('/home/yadg/djangoenv/lib/python2.6/site-packages')
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'settings.develop')
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()
\ No newline at end of file
from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment