~widelands-dev/widelands-website/trunk

« back to all changes in this revision

Viewing changes to wlwebsite_wsgi.py

  • Committer: franku
  • Date: 2016-07-02 12:38:06 UTC
  • mfrom: (404.2.56 widelands)
  • Revision ID: somal@arcor.de-20160702123806-q69u3d48s1prrxds
merged the django1_8 branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
if os.path.exists('/usr/games'):
28
28
    os.environ['PATH'] += ':/usr/games'
29
29
 
30
 
import django.core.handlers.wsgi
31
 
application = django.core.handlers.wsgi.WSGIHandler()
 
30
from django.core.wsgi import get_wsgi_application
 
31
application = get_wsgi_application()
 
32