Skip to content
Permalink
master
Go to file
 
 
Cannot retrieve contributors at this time
16 lines (11 sloc) 459 Bytes
"""WSGI handler for dotCloud and default set-ups."""
import os
import sys
if 'DOTCLOUD_ENVIRONMENT' in os.environ:
import django.core.handlers.wsgi
os.environ['DJANGO_SETTINGS_MODULE'] = 'ponyforum.settings'
sys.path.append('/home/dotcloud/current/ponyforum')
application = django.core.handlers.wsgi.WSGIHandler()
elif 'TRAVIS' in os.environ:
from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()
You can’t perform that action at this time.